Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Expert AWS Development

You're reading from   Expert AWS Development Efficiently develop, deploy, and manage your enterprise apps on the Amazon Web Services platform

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788477581
Length 408 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Atul Mistry Atul Mistry
Author Profile Icon Atul Mistry
Atul Mistry
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

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

Troubleshooting instances


Following are some of the troubleshoot problems that might happen with your instance. 

Instance terminates immediately

It is always a best practice to check the status after you launch an instance; it should be in the running state after the pending state, and not in the terminated state. Here are possible reasons to terminate the instance immediately after launch:

  • Your EBS volume limit was reached. This is a soft limit and you can increase it by submitting a request to AWS Support.
  • A corrupted EBS snapshot.
  • You launch the instance from the instance store-backed AMI, and that AMI is missing a required part of the file, such as image.part.xx.

Instance termination reasons:

From the Amazon EC2 console, AWS CLI, or API, you can get the reason for instance termination.

For that, log on to the Amazon EC2 console, navigate to Instances, and select your instance. Under the Description tab, check State transition reason and State transition reason message. Or, you can execute this...

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 $19.99/month. Cancel anytime
Banner background image