舉報(bào)

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