Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Amazon Fargate Quick Start Guide

You're reading from   Amazon Fargate Quick Start Guide Learn how to use AWS Fargate to run containers with ease

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781789345018
Length 190 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Deepak Vohra Deepak Vohra
Author Profile Icon Deepak Vohra
Deepak Vohra
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
1. Getting Started with Amazon ECS and Amazon Fargate FREE CHAPTER 2. Networking 3. Using CloudWatch Logs 4. Using Auto Scaling 5. Using IAM 6. Using an Application Load Balancer 7. Using Amazon ECS CLI 1. Other Books You May Enjoy Index

Exploring CloudWatch Logs


In this section, we shall find details about the CloudWatch logs generated and display the log streams generated:

  1.  Click on Logs in the CloudWatch Console, as shown in the following screenshot:
  1. In Filter, specify /ecs/mysql or just /ecs, which is the value of the awslogs-stream-prefix option for the awslogs log driver, as configured in the container definition in the Configuring logging section. The log group   /ecs/mysql-task-definition is displayed, as shown in the following screenshot:
  1. Click on the log group to display the log streams, as shown in the following screenshot:

The log events in the log stream get displayed. Each log event is associated with a timestamp and a log message. An example log message is Initializing database, as shown in the following screenshot. Some of the messages have [Warning] associated with them:

A CloudWatch log message indicating the MySQL database is running and accepting connections is the message mysqld: ready for connections, as...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images