封面
版权信息
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
Using AWS CodeCommit
Introduction
Introducing VCS and Git
What is VCS?
Why VCS ?
Types of VCS
What is Git?
Why Git over other VCSs?
Features of Git
How to do it...
Installation of Git and its implementation using GitHub
Introducing AWS CodeCommit - Amazon managed SaaS Git
How to do it...
Getting started with CodeCommit for HTTP users
How to do it...
Setting up CodeCommit for SSH users using AWS CLI
Getting ready
How to do it...
Applying security and restrictions
Getting ready
How to do it...
Migrating a Git repository to AWS CodeCommit
How to do it...
Building an Application using CodeBuild
Introduction
Introducing AWS CodeBuild
How to do it...
How it works...
Pricing
Building a Java application using Maven
Getting ready
Install Java and verify
Install Apache Maven and verify
How to do it...
Building a NodeJS application using yarn
Getting ready
Install NodeJS and verify
Install Yarn and verify
How to do it...
Installing dependencies
How it works...
Building a Maven application using AWS CodeBuild console
Getting ready
How it works...
Building a sample NodeJS application using AWS CodeBuild via Buildspec.yml
Buildspec.yml
Syntax
Getting ready
How to do it...
Deploying Application using CodeDeploy & CodePipeline
Introduction
The Deployment strategy in AWS CodeDeploy
In-place deployment
Blue-green deployment
How to do it...
Writing an application-specific file
How to do it...
Deploying a static application in an EC2 instance from the S3 Bucket using AWS CodeDeploy
Getting ready
How to do it...
How it works...
Introducing AWS CodePipeline and its working
How to do it...
How it works...
Continuous Deployment of static application to AWS S3 using AWS CodePipeline
How to do it...
Building Scalable and Fault-Tolerant CI/CD Pipeline
Introduction
Benefits of using the CI/CD pipeline
How to achieve the benefits?
The scenario
The challenges
CI/CD pipeline workflow
Getting ready
How to do it...
Setting up AWS CodeCommit
Getting ready
How to do it...
Creating the S3 bucket and enabling versioning
Getting ready
How to do it...
Creating the launch configuration and Auto Scaling group
Getting ready
How to do it...
Creating AWS CodeDeploy application using the Auto Scaling group
Getting ready
How to do it...
Setting up the Jenkins Server and installing the required plugins
Getting ready
How to do it...
Integrating Jenkins with all of the AWS developers tools
Getting ready
How to do it...
Understanding Microservices and ECS
Introduction
Understanding microservices and their deployment
Designing microservices
Deployment of microservices
Playing around with Docker containers
Containers
Docker
Images
Registry
Containers
Getting ready
Installation of Docker engine
Run Docker as a non-root user
How to do it...
Running a container
Starting the stopped container
Assigning a Name to a container
Creating daemonized containers
Exposing ports of a container
Managing persistent storage with Docker
Adding a data volume
Getting details of a container
Containerize your application using Dockerfile
Push the image to Dockerhub
Setting up AWS ECR and pushing an image into it
Getting ready
How to do it...
To authenticate Docker client with ECR
Tagging your Docker Image with the repository details
Pushing the image to ECR
Understanding ECS and writing task definitions and services
Getting ready
How to do it...
Verifying containers inside the Container instance
Continuous Deployment to ECS Using Developer Tools and CloudFormation
Introduction
Understanding the architecture and workflow
How to do it...
How it works...
Setting up the infrastructure to host the application
Getting ready
How to do it...
Creating an ECS cluster
Creating a Load Balancer (Classic ELB)
Register Auto Scaling with Load Balancer
Creating an Amazon ECR
Setting Up CodeCommit for our application source
Getting ready
How to do it...
Creating a CodeBuild project for the build stage
Getting ready
How to do it...
Understanding the inside content of helper files (BuildSpec.yml Dockerfile and CF template)
How to do it...
Creating a CodePipeline using CodeCommit CodeBuild and CloudFormation
Getting ready
How to do it...
IaC Using CloudFormation and Ansible
Introduction
AWS CloudFormation and writing the CloudFormation template
Terms and concepts related to AWS CloudFormation
For YAML
For JSON
How to do it...
Writing a CF template
Defining parameters
Using parameters
Creating stack using the CF template
Creating a production-ready web application infrastructure using CloudFormation
Getting ready
How to do it...
Automation with Ansible
Workflow
Installation
How to do it...
File structure and syntax
Deploying a web server using Ansible
Creating an AWS infrastructure using the Ansible EC2 dynamic inventory
Getting ready
How to do it...
Automating AWS Resource Control Using AWS Lambda
Introduction
Creating an AMIs of the EC2 instance using AWS lambda and CloudWatch
Getting ready
How to do it...
Sending notifications through SNS using Config and Lambda
Getting ready
How to do it...
Configuring the AWS Config service for AWS resources
Creating a Lambda function
Creating a trigger
Streaming and visualizing AWS CloudTrail logs in real time using Lambda with Kibana
Workflow
Getting ready
How to do it...
Enabling CloudTrail logs
Configuring CloudWatch
Creating Elasticsearch
Enabling the streaming of CloudWatch logs in Elasticsearch
Configuring Kibana to visualize your data
Microservice Applications in Kubernetes Using Jenkins Pipeline 2.0
Introduction
K8s architecture
Master components
Node components
Deploying multinode clusters on AWS using the Ansible playbook
Getting ready
How to do it...
Deploying a multinode production-ready cluster on AWS using Kops
Getting ready
How to do it...
Creating bucket
DNS configuration
Creating a cluster
Kubernetes dashboard (UI)
Clean up
Deploying a sample application on Kubernetes
Getting ready
How to do it...
Configuration file
Deployment configuration file
Service configuration file
Working with Kubernetes on AWS using AWS resources
Getting ready
How to do it...
Creating a persistent volume claim
Deployment configuration file (includes ECR image and PVC )
Service configuration file (type Loadbalancer)
Jenkins pipeline 2.0 (Pipeline as Code) using Jenkinsfile
How to do it...
Declarative pipeline
Sections
Application deployment using Jenkinsfile
Getting ready
How to do it...
Create a pipeline in the BlueOcean
Clean Up
Creating a Pipeline using existing Jenkinsfile
Deploying microservices applications in Kubernetes using Jenkinsfile
Getting ready
How to do it...
Workflow
Best Practices and Troubleshooting Tips
Best practices with AWS CodeCommit
Troubleshooting with CodeCommit
Troubleshooting with CodeBuild
更新时间:2021-07-02 23:01:22