Day 38 Getting Started with AWS Basics (Jan 03, 2024)
Amazon Web Services is one of the most popular Cloud Provider that has free tier too for students and Cloud enthutiasts for their Handson while learning (Create your free account today to explore more on it).
Amazon Web Services(AWS) is a cloud computing platform that is provided by Amazon which provides several benefits including IAAS, PAAS, and SAAS.
Amazon.com Web Services launched its first web services in 2002 from the internal infrastructure that Amazon.com built to handle its online retail operations. In 2006, it began offering its defining IaaS services. AWS was one of the first companies to introduce pay-as-you-go services to its clients.
With AWS one can have remote servers, databases, storage units, Network configurations, Container platforms, etc.
AWS Identity and Access Management (IAM) is a web service that helps you securely control access to AWS resources. With IAM, you can centrally manage permissions that control which AWS resources users can access. You use IAM to control who is authenticated (signed in) and authorized (has permissions) to use resources
Create an IAM user with username of your own wish and grant EC2 Access. Launch your Linux instance through the IAM user that you created now and install jenkins and docker on your machine via single Shell Script.
Goto AWS console and login Root user
Home screen will appear and type “IAM” in the search box.
Click on “users” from left hand side of dashboard and click on “Add users”
- Click on Attach policies directly.
- Select desired permissions policies. Click on next
- Click on create user.
- New user will be created.
Login with new IAM user.
- Change the password.
- Type EC2 in search box and click on Launch instance.
- Enter desired name for your EC2 instance. Select AMI as ubuntu and give key-value pair.
- Click on Advanced tab and goto user data.
Wait for EC2 instance to launch.
- Edit security group and add rule on open port id 8080 for jenkins.
Back to EC2 instance and click on Details and copy “Public IPv4 address” and paste it adding “:8080” at the end of it.
Thank you for your valuable time.