
- 400 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Effective DevOps with AWS
About this book
Scale gracefully and maintain outstanding performance with your AWS-based infrastructure using DevOps principlesAbout This Book• Implement DevOps principles to take full advantage of the AWS stack and services• Take expert look at solving problems faced by real developers and operation teams and learn to overcome them• Learn from expert insights of the author who has worked with Silicon Valley's most high-profile companiesWho This Book Is ForThis book is for developers, DevOps engineers and teams who want to build and use AWS for their software infrastructure. Basic computer science knowledge is required for this book.What You Will Learn• Find out what it means to practice DevOps and what its principles are• Build repeatable infrastructures using templates and configuration management• Deploy multiple times a day by implementing continuous integration and continuous deployment pipelines• Use the latest technologies, including containers and serverless computing, to scale your infrastructure• Collect metrics and logs and implement an alerting strategy• Make your system robust and secureIn DetailThe DevOps movement has transformed the way modern tech companies work. AWS which has been on the forefront of the Cloud computing revolution has also been a key contributor of this DevOps movement creating a huge range of managed services that help you implement the DevOps principles.In this book, you'll see how the most successful tech start-ups launch and scale their services on AWS and how you can too. Written by a lead member of Mediums DevOps team, this book explains how to treat infrastructure as code, meaning you can bring resources online and offline as necessary with the code as easily as you control your software. You will also build a continuous integration and continuous deployment pipeline to keep your app up to date. You'll find out how to scale your applications to offer maximum performance to users anywhere in the world, even when traffic spikes with the latest technologies, such as containers and serverless computing. You will also take a deep dive into monitoring and alerting to make sure your users have the best experience when using your service.Finally, you'll get to grips with ensuring the security of your platform and data.Style and approachThis is a practical, hands-on, comprehensive guide to AWS, helping readers understand AWS in a step by step manner.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Monitoring and Alerting

- Instrumenting our application for monitoring
- Monitoring our infrastructure
- Creating alarms using CloudWatch and SNS
Instrumenting our application for monitoring
AWS CloudWatch
Metrics
- The resource ID
- The service name
- The metric name
- A metric value
- A timestamp
- From the CloudWatch dashboard, click on Browse Metrics.
- Select the S3 service from the Namespaces section.
- Select Storage Metrics.
- Find the bucket used to store artifacts and pick the metric BucketSizeBytes:

Logs
- Each log is called a log event and contains a raw message and a timestamp.
- The logs events produced by a unique source are grouped into a log stream.
- Log streams send their log event to log groups. Each log group has its own policy in terms of data retention (how many days you want to keep your log event for, who can access those logs, and so on).
- In your browser, open the CloudWatch service at https://console.aws.amazon.com/cloudwatch.
- Clock on Logs in the left-hand side menu.
- From there, you can see the different log groups. Select one of the /aws/codebuild/ groups to access the log streams.
- Open one of the log streams to access the logs produced by CodeBuild.
Events
Using CloudWatch to monitor our helloworld application
Adding logs to our application
console.log('Server running') Creating a custom logger for our application
Table of contents
- Title Page
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Preface
- The Cloud and the DevOps Revolution
- Deploying Your First Web Application
- Treating Your Infrastructure As Code
- Adding Continuous Integration and Continuous Deployment
- Scaling Your Infrastructure
- Running Containers in AWS
- Monitoring and Alerting
- Hardening the Security of Your AWS Environment
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app