Content Source:On June 17, 2017, Amazon AWS solution architect Monvey shared his speech “Automated Software Deployment with CodeDeply” at the DevOps MeetUp. IT Tycoon said (ID: ITdakashuo) as the exclusive video partner, by the sponsor and speaker review authorized release.

Read the word count: 971 | 4 minutes to read

Guest Speech Video Address:suo.im/5aBKoz

Abstract

AWSCodeDeploy is a service that can automatically deploy code to any instance, including Amazon EC2 instances and locally running instances. With AWS CodeDeploy, you can more easily roll out new features quickly, avoid downtime during application deployment, and help simplify application updates. You can use AWS CodeDeploy to automatically deploy software without manual operations, which are prone to errors. This service can also scale with your infrastructure so that you can easily deploy to one or thousands of instances. This session will introduce the basic working principles and development and design details of AWS CodeDeploy, and show attendees the power of CodeDeploy in code automation deployment through a live demo session.

Why did we develop CodeDeploy?

CodeDeploy credit: Amazon Apollo Project

Amazon internally uses an agile development model, adopts a service-oriented software architecture, and develops a series of tools to assist in software development and deployment.

Challenges facing some AWS customers

Automated deployment; Removal manual operation; Minimize downtime; Update the software deployment as the infrastructure expands.

What is CodeDeploy?

define

AWS CodeDeploy is a service that automatically deploys code to any instance.

advantage

Automatic deployment, minimal downtime, and even zero downtime. There is also centralized control for ease of use.

Automatic deployment

Consistently deploy application versions across development, test, and production environments;

Integration with Auto Scaling;

Scale with the infrastructure to deploy one or thousands of EC2s.

Minimize downtime

The core idea of minimizing downtime is to ensure that it has a working server at all times. The EC2 instances are updated in rotation to track the health of the deployed application, and the deployment process can be stopped or rolled back.

Centralized control

Start, control, and monitor deployments from the AWS management console, CLI, SDK, and API, organize and manage your test or production environment as deployment groups, and track your deployment history.

Easy to use

Can deploy any type of application and reuse existing installation code; Integration with existing software delivery tool chains; Pre-integration solutions provided by AWS partners can be used.

How do I get started using CodeDeploy?

How to work

AmazonS3 includes source code for distribution, binaries, associated page dynamics, and scripts for your own deployment. All administrative control is via AWS CodeDeploy, and Amazon EC2 is a target machine for hosting applications.

Application

An Application is any collection of content that you want to publish to the server in a single deployment.

Deployment Group

You want to deploy a set of EC2 instances of the same version at the same time.

Each phase of the software development process has different deployment requirements

Development: Minimal resource allocation, fast startup, little or no automated testing.

Testing: Resource allocation needs to support performance testing, debugging information display, and automated testing.

Production: Automatic expansion, log files, and health check based on service changes.

What else can we do with CodeDeploy?

Automated deployment; Integrate with existing CI/CD processes using partner solutions; Multi-platform deployment; Integrates with CloudFormation.

That’s all for today’s sharing, thank you!