Expert AWS Development
eBook - ePub

Expert AWS Development

  1. 408 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Expert AWS Development

Book details
Book preview
Table of contents
Citations

About This Book

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 LambdaWho This Book Is ForThis 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 minutesIn DetailContinuous 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 SWFFollowing 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 approachThis 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

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Expert AWS Development by Atul V. Mistry in PDF and/or ePUB format, as well as other popular books in Computer Science & Cloud Computing. We have over one million books available in our catalogue for you to explore.

Information

Year
2018
ISBN
9781788474597
Edition
1

CI/CD in AWS Part 1 – CodeCommit, CodeBuild, and Testing

AWS with DevOps provides services to build software products reliably, rapidly, and delivers them using a set of flexible services. It simplifies the deploying of application code, automates the release process and provision, manages the infrastructure and monitoring of applications, and infrastructure performance. It also helps to automate manual tasks and manage complex environments, at any scale.
To achieve DevOps on the cloud, AWS provides Developer tools to securely store and version the source code and automatically build, test, and deploy applications.
AWS Developer tools provide services such as CodeCommit, CodeBuild, CodeDeploy, CodePipeline, CodeStar, and AWS X-Ray.
In this chapter, we will understand CodeCommit and CodeBuild services which are useful to commit the code into private Git repositories then build the code and test it.
At the end of the chapter, you will be aware of the AWS Developer tools, such as CodeCommit and CodeBuild.
In this chapter, we will cover the following topics:
  • A brief overview of AWS for DevOps
  • AWS CodeCommit – maintaining code repository
  • AWS CodeBuild – automating the build
Let's explore each topic.

A brief overview of AWS for DevOps

You will get more benefits when you use AWS for DevOps.
The following are a few points:
  • Fast start: AWS provides ready-to-use services without any setup or software installation. You must have an AWS account to use this service.
  • Fully managed: It provides fully managed services that help us to focus more on the core products and worry less about the setup of the environment, installation, and infrastructure.
  • Highly scalable: You can manage to scale from a single instance to multiple instances from AWS service. It will simplify your resources by configuring, provisioning and scaling with this services.
  • Programmable: You can use all the services from APIs, SDKs, and the AWS command-line interface. You can also use AWS CloudFormation templates to model and provision your entire AWS infrastructure and AWS resources.
  • Automation: AWS services helps to automate the build, quickly and more efficiently. Development and test workflows, deployments and container and configuration management can be automated using a manual task or process.
  • Secure: You can use AWS Identity and Access Management (IAM) to secure the environment by setting up the user permissions, roles and policies. It gives granular control over the environment and gives access to the authorized person only.
  • Large ecosystem of partners: A large ecosystems of partners is supported by AWS to integrate and extend AWS services. You can use your preferred open source or third-party tools to build a system on AWS.
  • Pay-As-You-Go: AWS services have a What You Pay is What You Use (WYPWYU) kind of concept. You don't have to pay any upfront amount, suffer termination penalties, or commit to long-term contracts. You can purchase the service when you plan to use it and when you need it.
The following is a list of AWS Tools which provide different solutions for CI/CD:
AWS Tool Name
Solutions
Description
AWS CodeCommit
Version Control
It is used to store source code securely on private Git repositories
AWS CodeBuild
CI/CD
It is used to build and test code with continuous scaling
AWS CodeDeploy
CI/CD
Your code will deploy automatically
AWS CodePipeline
CI/CD
This is a Continuous Integration/Continuous Delivery Service from AWS
AWS CodeStar
CI/CD
Quickly develop, build, and deploy applications using templates
AWS X-Ray
Monitoring and Logging
Used to debug and analyze the applications
AWS Command Line Interface
You can manage your AWS resources by using this tool
AWS Cloud9 (New)
You can use Cloud IDE on your browser to write the code, run it and debug if necessary
Now, in this chapter we will dig more into the two tools: AWS CodeCommit and AWS CodeBuild.

AWS CodeCommit – maintaining code repository

AWS CodeCommit is a highly scalable and fully managed source control service under Developer tools in AWS. It is highly secure and helps companies to store source code on private GitHub repositories. It eliminates worry about scaling the infrastructure or your source code system.
AWS CodeCommit has the following benefits:
  • Fully managed: It eliminates the need to host, maintain, back up, and scale own source control servers. It scales automatically, as per the needs for your project.
  • High availability: It provides highly scalable, durable, and redundant architecture which is designed to keep your repositories accessible and available.
  • Store anything: There are no size limits for the repository and it allows you to store any type of files. You can store different versions of...

Table of contents

  1. Title Page
  2. Copyright and Credits
  3. Packt Upsell
  4. Contributors
  5. Preface
  6. AWS Tools and SDKs
  7. Integrating Applications with AWS Services
  8. Continuous Integration and Continuous Deployment Workflow
  9. CI/CD in AWS Part 1 – CodeCommit, CodeBuild, and Testing
  10. CI/CD in AWS Part 2 – CodeDeploy, CodePipeline, and CodeStar
  11. User Authentication with AWS Cognito
  12. Evaluating the Best Architecture
  13. Traditional Web Hosting – Amazon EC2 and Elastic Load Balancing
  14. Amazon EC2 Container Service
  15. Amazon Lambda – AWS Serverless Architecture
  16. Other Books You May Enjoy