DEV Community

Sibi S
Sibi S

Posted on

EC2+S3+IAM

Step 1: Create a EC2 instance

Image description

Image description

Image description

Step 2: Create a key pair

Image description

Step 3: Verify the instance in running state or not

Image description
Step 4: Edit the inbound rule in the security group of the instance
Assign your ip address by searching in website: https://whatismyipaddress.com/
Image description
Step 5: Check the modified inbound rule

Image description
Step 6: Install PuTTY from the website: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Step 7: Open ec2 instance in puTTy

Image description
Step 8: Create a file in ec2 instance

Image description
Step 8: Create a role for IAM for allowing S3 full access
Give permission for S3 full access

Image description
Give entity type and use case
Image description
Give role detail

Image description

Image description
Step 9: Upload the file to instance

Image description
Step 10: Delete and terminate the instance and IAM role

Top comments (0)