Question: Steps: 1 . Launch an EC 2 Instance i . Log in to your AWS Management Console. ii . Navigate to EC 2 under the
Steps: Launch an EC Instance i Log in to your AWS Management Console. ii Navigate to EC under the Compute secton iii. Click on Launch Instance and select a suitable AMI Amazon Linux iv Choose an instance type eg tmicro for free tier eligibility v Configure instance details leave defaults for now Create and Assign a Security Group: i On the Configure Security Group step: ii Create a new security group. iii. Allow SSH port for your IP only. iv Allow HTTP port from anywhere for web access you can restrict it to specific IPs later Click on Review and Launch. Refer : https:docsaws.amazon.comAWSEClatestUserGuideecsecurity groups.html Create an IAM Role: i Go to IAM in the AWS Console. ii Click on Roles Create Role. iii. Select AWS Service EC iv Attach the AmazonSReadOnlyAccess policy to the role this grants read only access to S buckets v Give the role a name, eg ECSReadOnly. vi Attach this IAM role to your EC instance. Test Access and Security Configuration: i SSH into your EC instance using the key pair you created. ii Test S access by running : aws s ls iii. The above command should list your S buckets if any If not, review the role and permissions. Enhance Security Optional: i Use AWS Inspector to run a security assessment on your EC instance. ii Set up CloudWatch Alarms to monitor security group changes. References: AWS Security Best Practices
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
