Introduction to DevOps on AWS

Introduction to DevOps on AWS

Introduction to Amazon Web Services

Amazon Web Services(AWS) is a cloud service from Amazon, which provides services in the form of building blocks, these building blocks can be used to create and deploy any type of application in the cloud.

It is a comprehensive, easy to use computing platform. The platform is developed with a combination of infrastructure as a service (IaaS), platform as a service (PaaS) and packaged software as a service (SaaS) offerings.

Benefits Of AWS for DevOps

There are many benefits of using AWS for DevOps:

Get Started Fast: Each AWS service is ready to use if you have an AWS account. There is
no setup required or software to install.

Fully Managed Services: These services can help you take advantage of AWS resources
quicker. You can worry less about setting up, installing, and operating infrastructure on
your own. This lets you focus on your core product.

Built for Scalability: You can manage a single instance or scale to thousands using AWS
services. These services help you make the most of flexible compute resources by
simplifying provisioning, configuration, and scaling.

Programmable: You have the option to use each service via the AWS Command Line
Interface or through APIs and SDKs. You can also a model and provision AWS resources
and your entire AWS infrastructure using declarative AWS CloudFormation templates.

Automation: AWS helps you use automation so you can build faster and more efficiently.
Using AWS services, you can automate manual tasks or processes such as deployments,
development & test workflows, container management, and configuration management.

Secure: Use AWS Identity and Access Management (IAM) to set user permissions and
policies. This gives you granular control over who can access your resources and how they
access those resources.

Importance Of Buffer In Amazon Web Services

An Elastic Load Balancer ensures that the incoming traffic is distributed optimally across
various AWS instances.

A buffer will synchronize different components and makes the arrangement additional
elastic to a burst of load or traffic.

The components are prone to work in an unstable way of receiving and processing the
requests. The buffer creates the equilibrium linking various apparatus and crafts them effort at the identical rate to supply more rapid services.

Various Components Involved In Amazon Web Services

There are mainly 4 components in AWS:

Amazon S3: with this, one can retrieve the key information which are occupied in creating
cloud structural design and amount of produced information also can be stored in this
the component that is the consequence of the key specified.

Amazon EC2 instance: helpful to run a large distributed system on the Hadoop cluster.

Automatic parallelization and job scheduling can be achieved by this component.

Amazon SQS: this component acts as a mediator between different controllers. Also worn
for cushioning requirements those are obtained by the manager of Amazon.

Amazon SimpleDB: helps in storing the transitional position log and the errands executed
by the consumers.

How Spot instance different from an On-Demand instance or Reserved Instance

Spot Instance, On-Demand instance, and Reserved Instances are all models for pricing.

Moving along, spot instances provide the ability for customers to purchase compute
capacity with no upfront commitment, at hourly rates usually lower than the On-Demand
the rate in each region.

Spot instances are just like bidding, the bidding price is called Spot Price. The Spot Price
fluctuates based on supply and demand for instances, but customers will never pay more
then the maximum price they have specified.

If the Spot Price moves higher than a customer’s maximum price, the customer’s EC2
the instance will be shut down automatically.

But the reverse is not true if the Spot prices come down again, your EC2 instance will not
be launched automatically, one must do that manually.

In Spot and on-demand instance, there is no commitment for the duration from the user
side, however in reserved instances one must stick to the time period that he has chosen.

Amazon Elastic Container Service (ECS)

Amazon Elastic Container Service (ECS) is highly scalable, high-performance container
management service that supports Docker containers and allows us to easily run
applications on a managed cluster of Amazon EC2 instances.

AWS Lambda in AWS DevOps

AWS Lambda lets us run code without provisioning or managing servers. With Lambda,
we can run code for virtually any type of application or backend service, all with zero

Just upload your code and Lambda takes care of everything required to run and scale your
code with high availability.

Best practices for Security in Amazon EC2

There are several best practices to secure Amazon EC2. A few of them are given below:

Ø  Use AWS Identity and Access Management (IAM) to control access to your AWS         resources.
Ø  Restrict access by only allowing trusted hosts or networks to access ports on your
Ø  Review the rules in your security groups regularly, and ensure that you apply the
principle of least.
Ø  Privilege – only open up permissions that you require.
Ø  Disable password-based logins for instances launched from your AMI. Passwords
can be found or cracked and are a security risk.



My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
August 31, 2019 at 7:40 AM

Thanks Ankur. Could you also share knowledge on some topics like instance creation in AWS and installation of Maven Jenkins on those instances

August 31, 2019 at 8:17 AM

Sure will create few more blogs on this topic