Day 38 Getting Started with AWS Basics

Day 38 Getting Started with AWS Basics

AWS:-

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.

IAM:-

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

Task1:

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.

  1. Goto AWS console and login Root user

    1. Home screen will appear and type “IAM” in the search box.

      1. Click on “users” from left hand side of dashboard and click on “Add users

        .

        1. Click on Attach policies directly.

  1. Select desired permissions policies. Click on next

  1. Click on create user.

  1. New user will be created.

  1. Login with new IAM user.

    1. Change the password.

  1. Type EC2 in search box and click on Launch instance.

  1. Enter desired name for your EC2 instance. Select AMI as ubuntu and give key-value pair.

  1. Click on Advanced tab and goto user data.

Wait for EC2 instance to launch.

  1. 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.