AWS Handson
AWS Handson
Session
Set Permission to this User-Permission can be set for user or a group and add user to
the group.
IAM Roles
1. Go to IAM
2. Click on Roles
3. Create a custom Role-Click Create Role
4. Role is a way to give aws entities do stuff on aws
5. Select AWS Service
6. Select which Service for which we need this role to apply to.
7. Select EC2 and Select Use Case as EC2 and Click on Next
8. Next we need to attach a Policy
9. Attach IAMReadOnlyAccess and click Next
10. Provide a suitable Role Name
11. Then select the trusted entities
12. Click on Create Role
IAM Best Practices
Private/Public/Elastic IP
1. Click on Instance
2. Click on Connect
6. Upload the Key Pair download using the Upload file option
Placement Groups
Sometimes you want control over the EC2 instance placement strategy. For this we
can use Placement Group.
1. Cluster: cluster instances into a low latency group in a single availability zone
2. Spread: spread across underlying hardware(max 7 instances per group per
AZ)-critical applications
3. Partition: spreads instances across many different partitions(which rely on
different sets of racks) within an AZ. Scales to 100s of EC2 instances per group
(Hadoop, Cassandra, Kafka )
EBS Volume
EBS Handson
Clean Up Session