Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
5 views26 pages

AWS 1: Create An IAM User With Administrative Permissions

The document outlines a series of tasks related to AWS services, including creating IAM users, setting up VPCs, launching EC2 instances, and configuring security groups. It details the steps taken to implement various AWS functionalities such as NAT Gateways, EBS volumes, S3 buckets, and Lambda functions. Additionally, it describes the setup of an Auto Scaling Group and monitoring with Amazon CloudWatch for application performance management.

Uploaded by

shyamraoyakkeli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views26 pages

AWS 1: Create An IAM User With Administrative Permissions

The document outlines a series of tasks related to AWS services, including creating IAM users, setting up VPCs, launching EC2 instances, and configuring security groups. It details the steps taken to implement various AWS functionalities such as NAT Gateways, EBS volumes, S3 buckets, and Lambda functions. Additionally, it describes the setup of an Auto Scaling Group and monitoring with Amazon CloudWatch for application performance management.

Uploaded by

shyamraoyakkeli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

`

AWS

AWS 1: Create an IAM user with administrative Permissions.

Overview of the task


1.​ Taskname/Objective : Create an IAM user with administrative
Permissions.
2.​ Architecture: Was to create the IAM user for Temp Access
3.​ Files created : Created an ec2 instance and assigned a role as admin to
the user. No files created inside the instance.
4.​ Resource created: IAM, EC2 Instance.
5.​ Manual Deployment steps : NA
6.​ Output : Logged into the admin and checked about the access of the
admin user
7.​ Attach screenshots : Attached
8.​ Tools & Technologies used : IAM

SCREENSHOTS OF THE TASK:

Created an instance

user

Assigned a user name


I used attach policies directly - because I needed to create a single user and
assign permissions I clicked on it according to my need.

Clicked Administrator Access for the user I created.

User created successfully


Logged into that link
Logged in the account and reset the password.

Logged into the console with admin-user.


AWS 2: Create a custom VPC with public and private subnet and
attach Internet Gateway to VPC and Route Table for public subnet.

VPC Dashboard

I have created a vpc name my-first-vpc.


Created two subnets with public-subnet and private subnet

Created a Internet Gateway

Attached to the vpc


Created the route table and added the configurations needed

Attached the route table to the internet gateway.


Clicked Subnet association and added the public subnet to the Route table

AWS 3: Set up internet access for the private subnet by launching a


NAT Gateway in the public subnet. Update the route table of the
private subnet to route internet-bound traffic through the NAT
Gateway.

Created the EIP

NEW NAT-GATEWAY attached the EIP and attached the public subnet
TASK 4 : Create a security group to allow ssh to the instance and attach
the security group when launching an ec2 .
AWS TASK 5 : Launch an EC2 instance with the public subnet and
try to ssh into it.

INSTANCE CREATED
AWS 5: Create an EBS volume and mount it to the ec2 instance
LSBLK TO CHECK THE VOLUME

MOUNTED TO VOL DIRECTORY


Aws 6: Create an S3 Bucket & Upload Files in it and enable
versioning, upload a static website (index.html file) and access via
browser using s3 endpoint.

Created a index.html file in terminal

Opened the html file on the browser

Created a bucket
Uploaded a index.html file
Bucket policy

Website from s3
AWS 7: Create IAM role with S3 full access and attach the role to ec2 instance
and use aws cli commands to upload/download the objects from the s3

Created the IAM role and attached to the ec2 instance and logged into the
terminal.
Logged into the terminal and checked the role
File created from the ec2 and got created in the bucket

AWS 8 Create a Python-based AWS Lambda function triggered by the


s3:ObjectCreated event. Use boto3 to resize the image and Store the resized
image in a different folder within the same S3 bucket.
AWS 9: Create a 3 tire web application and deploy it in ec2 instance and
configure nginx for path based routing and test it in browser.
AWS 10: Create an Auto Scaling Group using a launch template that
replicates the configuration of the existing EC2 instance running the
application. Create an Application Load Balancer and register the
existing instance in its target group. Configure the Auto Scaling Group to
use the same target group, and set a scaling policy to automatically
increase or decrease the number of instances based on CPU utilization
exceeding 40%.
Scaling Policy: Choose “Target tracking policy”
​ •​ Metric type: Average CPU utilization
​ •​ Target value: 40%
AWS 11: Use Amazon CloudWatch to monitor application logs and EC2
server metrics. Set up an alarm to send an email notification when CPU
usage exceeds 40%.

You might also like