Last active
March 7, 2020 10:21
-
-
Save harrythebarry/852e8e40d2c0bf16eede3143db07c055 to your computer and use it in GitHub Desktop.
AWS - Training Session - Day 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Setup | |
| * Create VPC | |
| * Create 2 Subnets under it | |
| * Connect both subnets to same routing table | |
| * Add Internetgateway to routing table | |
| * Connect EC2 to one of the subnets | |
| * Start instance and connect | |
| ## Install node on ec2 instance | |
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash | |
| . ~/.nvm/nvm.sh | |
| nvm install node | |
| # Check node | |
| # | |
| * IAM | |
| - Roles & Policies | |
| - Users & Groups | |
| - Access Type - Programmatic & Console | |
| - User will be in a Group and also given Role or attached with some policies | |
| # TODO | |
| - Create User and provide programmatic & console access | |
| - Attach Admin Policy | |
| - Download | |
| export AWS_DEFAULT_REGION=us-east-1 | |
| export AWS__REGION=us-east-1 | |
| export AWS_ACCESS_KEY_ID=<ACCESS_ID> | |
| export AWS_SECRET_ACCESS_KEY=<SECRET_ACCESS_KEY> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment