Book description
Key concepts, sample applications, best practices, and troubleshooting tips to build highly scalable applications in AWS.
About This Book
- Design highly available, cost efficient, fault tolerant, and scalable distributed systems
- A practical guide that will help you build, deploy, and manage applications with ease.
- Develop effective solutions with AWS SDK and Lambda
Who This Book Is For
This book targets developers who would like to build and manage web and mobile applications and services on the AWS platform. If you are an architect you will be able to take a deep dive and use examples that can be readily applied to real world scenarios. Some prior programming experience is assumed along with familiarity of cloud computing.
What You Will Learn
- Learn how to get up and running with AWS Developer Tools.
- Integrate the four major phases in the Release Processes. Source, Build, Test and Production.
- Learn how to integrate Continuous Integration, Continuous Delivery, and Continuous Deployment in AWS.
- Make secure, scalable and fault tolerant applications.
- Understand different architectures and deploy complex architectures within minutes
In Detail
Continuous deployment and Agile methodology have enabled huge advances in modern applications. This book will enable the reader to make use of this rapidly evolving technology to build highly scalable applications within AWS using different architectures.
You will begin with installation of AWS SDK and you will get hands-on experience on creating an application using AWS Management Console and AWS Command Line Interface (CLI). Next you will be integrating Applications with AWS services such as DynamoDB, Amazon Kinesis, AWS Lambda, Amazon SQS and Amazon SWF
Following this you will get well versed with CI/CD workflow and work with four major phases in Release processes – Source, Build, Test and Production. Next you will learn to apply AWS developer tools in your Continuous Integration (CI) and Continuous Deployment (CD) WorkFlow. Later you will learn about User Authentication using Amazon Cognito and also how you can evaluate the best architecture as per your infrastructure costs. You will learn about Amazon EC2 service and deploy an app using Amazon EC2.You will also get well versed with container service which is Amazon EC2 Container Service (Amazon ECS) and you will learn to deploy an app using Amazon ECS. Along with EC2 and ECS, you will also deploying a practical real-world example of a CI/CD application with the Serverless Application Framework which is known as AWS Lambda. Finally you will learn how to build, develop and deploy the Application using AWS Developer tools like AWS CodeCommit, AWS CodeBuild, AWS CodeDeploy and AWS CodePipeline as per project needs. Also you can develop and deploy applications within minutes using AWS CodeStar from wizard.
By the end of this book, the reader will effectively build, deploy, and manage applications on AWS along with scaling and securing applications with best practices and troubleshooting tips.
Style and approach
This book covers follows an approach where you will learn the key concepts followed by a real world example and some tips and tricks to make building and deploying easier
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- AWS Tools and SDKs
- Integrating Applications with AWS Services
- Continuous Integration and Continuous Deployment Workflow
- CI/CD in AWS Part 1 – CodeCommit, CodeBuild, and Testing
-
CI/CD in AWS Part 2 – CodeDeploy, CodePipeline, and CodeStar
-
AWS CodeDeploy
- AWS CodeDeploy benefits
- Compute platforms and deployment options for AWS CodeDeploy
-
AWS CodeDeploy – sample application deployment on a Windows Server
- Step 1 – prerequisite configurations for AWS CodeDeploy
- Step 2 – launch a Windows Server Amazon EC2 instance
- Step 3 – configure source content to deploy to the EC2 instance
- Step 4 – upload application to Amazon S3
- Step 5 – deploy application
- Step 6 – update and redeploy application
- Step 7 – clean up the application and related resources
- AWS CodePipeline
- AWS CodeStar
- AWS X-Ray
- Summary
-
AWS CodeDeploy
- User Authentication with AWS Cognito
-
Evaluating the Best Architecture
- The comparison of traditional web hosting versus web hosting on the cloud using AWS
- AWS Well-Architected framework
- Amazon EC2 instance and Elastic Load Balancer
- Elastic Load Balancing
- Docker with the Amazon EC2 Container Service (Amazon ECS)
- Containers
- Amazon ECS
- Serverless architecture with Lambda
- Use cases for different architectures
- Controlling and optimizing costs
- Summary
-
Traditional Web Hosting – Amazon EC2 and Elastic Load Balancing
- Amazon EC2 best practices
-
Troubleshooting instances
- Instance terminates immediately
- Errors when connected to an instance
- Troubleshooting stopping your instance
- Troubleshooting terminating (shutting down) your instance
- Troubleshooting instance recovery failures
- Troubleshooting instances with failed status checks
- Troubleshooting instance capacity
- Getting console output and rebooting instances
- My instance is booting from the wrong volume
- Troubleshooting Windows instances
- Elastic Load Balancing, auto scaling, and fault tolerant
- Monitoring and optimizing the cost of the EC2 infrastructure
- Continuous Integration and Continuous Deployment workflow
- Summary
-
Amazon EC2 Container Service
- Docker
-
Container instances
- Basic concepts of a container instance
- Life cycle of a container instance
- Checking the instance role for the account
- AMIs for a container instance
- Update notification subscribing to Amazon ECS–optimized AMI
- Launching an Amazon ECS container instance
- Bootstrapping container instances with Amazon EC2 user data
- Connecting your container instance
- Container instances with CloudWatch Logs
- Container instance draining
- Remotely managing your container instance
- Deregistering your container instance
- Amazon ECS clusters
- Scheduling tasks
- Monitoring and optimizing the cost of the infrastructure
- Continuous Integration (CI) and Continuous Deployment (CD) Workflow
- Summary
- Amazon Lambda – AWS Serverless Architecture
- Other Books You May Enjoy
Product information
- Title: Expert AWS Development
- Author(s):
- Release date: March 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788477581
You might also like
book
Implementing AWS: Design, Build, and Manage your Infrastructure
Work through exciting recipes to administer your AWS cloud Key Features Build secure environments using AWS …
book
AWS SysOps Cookbook - Second Edition
Become an AWS SysOps administrator and explore best practices to maintain a well-architected, resilient, and secure …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …
book
Learn AWS Serverless Computing
Build, deploy, test, and run cloud-native serverless applications using AWS Lambda and other popular AWS services …