Skip to content

Instantly share code, notes, and snippets.

@harrythebarry
Last active March 7, 2020 10:21
Show Gist options
  • Save harrythebarry/852e8e40d2c0bf16eede3143db07c055 to your computer and use it in GitHub Desktop.
Save harrythebarry/852e8e40d2c0bf16eede3143db07c055 to your computer and use it in GitHub Desktop.
AWS - Training Session - Day 3
## 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