1. AWS Devops
Devops : Integrates Developers and Operation team
in order to improve collaboration and productivity
by automating Infrastructure, automating workflow
and continuously measure application Performance.
Goal of Devops Team : To Automate everything like
Automate code testing, workflow and Infrastructure.
Writing small chuck of data which then tested and
deployed to Production the same Infrastructure
make us frequency of deployment with speed of
time than traditional works with huge volume of
code deployed from dev to prod environment.
AWS : Support as A Platform as Infrastructure.
AWS Code Pipeline:
Deploy to Production using AWS CodeBuild and AWS
Developer tool . A simple java application is in place
deployment model using AWS Code commit, AWS
Code Build and AWS Code Deploy orchestrated by
AWS Code Pipeline.
Use case for Code pipeline Link :
https://aws.amazon.com/blogs/devops/bluegreen-
infrastructure-application-deployment-blog/
2. Devops on AWS – The Basics
MONOLITHIC ARCHITECTURE:
A Single Code Base for Entire Application.
Entire Application Developed in one
Programming Language.
Tightly Coupled with interdependent
companies cannot be deployed with defined
procedure.
Application developed, updates are made by
Schedule.
MICROSERVICE ARCHITECTURE: Each Micro services
has it own code.
Each Micro services Application can be developed in
different Programming Language.
Loosely Couple demand self sufficient services.
Micros services is delivered continuously.
• Decompose for Agility from Monolithic
Application plus team to Micro services plus two
pizza teams.
• The Pizza teams meant respectively for Full
ownership by the Ops team , Fully accountability
by Dev team.
• Devops is a combination of above two pizza
teams that foresee on the Focused Innovation.
3. Devops – The Developer Tool For Everyone
AWS Code Pipeline :
Connect to best of breed tools
Accelerate Your release process
Consistently Verify Each Release
AWS Code Commit :
Use Standard Git Tools
Scalability, Availability , Durability of Amazon S3
Encryption at rest with Customer Specific Key
Automate Your Software Deploy : AWS Code Deploy
Automate Your Release : AWS CodePipeline.
AWS Code Deploy :
Easy and reliable deployments
Scale with ease, Deploy to any Servers.
1
2
3
Setting up a Continuous Delivery Pipeline
4. Devops – The Developer Tool For Everyone
Continuous Integration :
Multiple Users Working Simultaneously on
different features of the Same Application.
Continuous Integration help the developers to
merge their code changes back to repository
more frequently.
Once Developers code changes to Application
are merged, those changes are validated by
automatically building the application and
running different level of automated testing
To ensure changes haven’t broken the code.
Continuous Deployment:
Once Developers code changes to Application
are merged, those changes are validated by
automatica
5. Devops – AWS CloudFormation
AWS CloudFormation : IAS (Infrastructure as
Service)
1.CloudFormation is an automated tool that
automates the process of your Infrastructure in
AWS.
2.CloudFormation create template which
describe and model AWS Infrastructure.
3.CloudFomation the provisions AWS resource
based on dependency needs.
4.Integrate with Development, I/CD and the
Management Tools.
Benefits of CloudFormation Designer :
1.Visualize template resources.
2.Modify template with drag –drop gestures.
3.Available of Customize sample templates.
6. Devops AWS CloudFormation Terminology
• Create or Use an Existing Template
• Upload template to CloudFormation
• Specify Parameter Values
• Setup Policies, tags or notification.
• Review and Create
1
2
3
7. Devops AWS Cloud Formation - IAM
• Create or Use an Existing Template
• Upload template to CloudFormation
• Specify Parameter Values
• Setup Policies, tags or notification.
• Review and Create
8. Devops AWS CloudFormation – Life Cycle
Define Stack :
Create Json CloudFormation template
defining Stack Resources.
Provision Stack :
Provision AWS Resources as Single Unit
via AWS Management Console or CLI tool
Using a CloudFormation Template.
Launch Config :
Use Launch Config Specified in
CloudFormation template to
ORCHESTRATE Bootstrap of newly
created AWS Resources. Like Auto scaled
EC2 Instance.
Update CloudFormation Stack :
Update Configuration for an existing
running Stack.
Delete a CloudFormation Stack :
Release CloudFormation Stack resources
as single Unit When no longer needed.
Nutshell :
CloudFormation templates allow you create
configuration driven recipes to automate
creation of entire software stacks. Copies of
an application/service can be stamped out
in cookie cutter fashion using AWS
management console, various CLI tools, and
SDKs. Common configuration settings can be
factored out as CloudFormation parameters
to allow stacks to be customized at creation
time.
9. Devops – Elastic Beanstalk
Elastic Beanstalk :
AWS Elastic Beanstalk is an easy-to-use an PAAS
Service for deploying and scaling web
applications and services developed with
Java, .NET, PHP, Node.js, Python, Ruby, Go, and
Docker on familiar servers such as Apache,
Nginx, Passenger, and IIS.
Simply upload your code and Elastic Beanstalk
automatically handles the deployment, from
capacity provisioning, load balancing, auto-
scaling to application health monitoring. At the
same time, you retain full control over the AWS
resources powering your application and can
access the underlying resources at any time.
10. DEVOPS – OpsWorks
AWS OpsWorks :
Integrated Application
Management Solution for Ops-
minded Developers and IT Admins.
Serves for the purpose to model,
control and automate Application
of Any Scale.
Management Console,SDK or CLI
Stack :
Represent the compute and
Infrastructure application to Manage.
Layer :
Define how to setup and configure a set
of instance and their related resources.
Instance :
Decide how to scale manually 24/7 or
automatically with load or time based
instance.
Application :
Deploy App to Specific Instance and
customize the deployment with CHEF
recipes.
Ccchd
CHEF :
An Automation Platform provide a way to
transform Infrastructure into code.
Chef Server, Node and Workstation are
components.
A Tool to write script to automate the process.
11. DEVOPS – AWS X-Ray Debugging App at Scale
AWS X-Ray :
Analyzing and Debugging
Applications.
Pinpoint and Understanding RCA,
errors and bottlenecks.
Preview of AWS X-RAY Support for
AWS LAMBDA.
Provide a New Way to Analyze
Performance of LAMBDA functions.
Benefits :
Identify the appropriate part of the
Application causing the issue.
Able to See Details request being made to
the Application.
Provide a Visual Map Architecture.
AWS Lambda Support :
Able to see AWS Lambda code Execution
time, from event source triggering
through termination.
Able to see downstream service call with
in your function.
Able to see the execution code time
above your function’s handle.