1. 程式人生 > >Troubleshoot Starting Linux Instances with OpsWorks

Troubleshoot Starting Linux Instances with OpsWorks

When you issue the instance start call, AWS OpsWorks engages the following process:

1. OpsWorks builds instance user-data based on the OS type.

2. OpsWorks issues an EC2 RunInstances call, along with EC2 user-data.

4. During the instance boot, OpsWorks runs user-data and installs the opsworks-agent, downloaded from S3.
Note:

For newer OS versions (Ubuntu 16.04 LTS, CentOS 7), Systemd manages the agent. Monit is used for monitoring and managing the agent on other supported OS versions.

5. After the instance is online and the agent is running, OpsWorks continuously checks for new commands and executes them.

6. The Setup lifecycle event is executed using Chef. When the Setup lifecycle event has completed, Chef logs are made available in the OpsWorks console and on the instance.

A failure at any of these points causes an instance to be in the start_failed state. To troubleshoot this, check the following:

1. Check the log file user-data.log at /var/log/aws/opsworks/ to find if the scripts in user-data of the instance have completed successfully.

2. Check installer.log to see if the OpsWorks agent installed successfully.
Note: The most common cause of failed agent installations is an incorrectly configured VPC. Make sure instances in your VPC can access the Internet; otherwise, the instance will attempt to download and install the agent, and the download will fail.

3. Make sure the agent is running.
For older OS versions:

相關推薦

Troubleshoot Starting Linux Instances with OpsWorks

When you issue the instance start call, AWS OpsWorks engages the following process: 1. OpsWorks builds instance user-data based on t

Resolve Boot Errors with C5 or M5 Linux Instances

Your Linux instance might not boot after you change its type to C5 or M5 for the following reasons: 1.    The enhanced networking ad

linux go with vscode

manually figure install ted rep page f11 compiler truct 1 install go apt install golang 將會同時安裝下列軟件: golang-1.9 golang-1.9-doc golan

debug python step by step on linux ubuntu with ipdb

在Linux下單步除錯python一直是一件憂傷的事情,進來研究別人家的python原始碼,沒debug方法真是看的累,試用了下ipdb,感覺還可以,有點gdb的感覺。     1>.安裝 pip install ipdb 或: easy_install ipdb  

Stop and Start Amazon EC2 Instances with Data Pipeline

You can use AWS Data Pipeline to programmatically start and stop your EC2 instances at scheduled instances. Data Pipeline uses AWS technologies

Set Availability Zones in a VPC for Elastic Beanstalk Instances with Custom Settings

The "Custom Availability Zones" option can only be specified for Elastic Beanstalk environments that don't use custom VPC settings.

Troubleshoot Disk Space Issues with EMR Core Nodes

Check for these common causes of disk space use on the core node: Local and temp files from the Spark application When yo

Improve CPU Performance of EC2 Linux Instances

To improve the performance of your Amazon EC2 Linux instances, try the following recommendations: Hardware virtual machine (HVM) Ama

Facing Load Balancer to EC2 Instances with Private IP Addresses

You must create public subnets in the same Availability Zones as the private subnets that are used by your private instances. Then associate th

New – Amazon EC2 Instances with Up to 8 NVIDIA Tesla V100 GPUs (P3)

Driven by customer demand and made possible by on-going advances in the state-of-the-art, we’ve come a long way since the original m1.small instan

[Functional Programming] Combine Multiple State ADT Instances with the Same Input (converage(liftA2(constant)))

When combining multiple State ADT instances that depend on the same input, using chain can become quite burdensome. We end up having to

cmake使用筆記和Creating CMake Linux projects with Visual Studio

筆記: cmake -G 檢視支援的makefile檔案 1、進入目錄: cmake  . 2、window下會生成vs工程。首先需要安裝有vs環境。 開啟Visual Studio 命令列提示視窗,

Troubleshoot Errors with Credentials when Connecting to an EC2 Linux Instance

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

【編碼格式錯誤】SyntaxError: Non-UTF-8 code starting with

org 一行 文件 編碼 with details pla err pytho 問題: SyntaxError: Non-UTF-8 code starting with ‘\xba‘ in file E:/placement/placement/Placement Tes

play with snake on linux

dev 開始 學習 是我 改進 tails linux 庫函數 strong 在寫完超Low的windows上的貪吃蛇後 被人吐槽了幾個方面: 1.界面真的Low,開始,結束,遊戲中,都太簡陋了... 2.每次都清屏在輸出字符矩陣的解決方案...太晃眼了 3.一個BUG,為

cvc-complex-type.2.4.a: Invalid content was found starting with element

lex -s 2.4 logs nbsp onf -type sch xsd cvc-complex-type.2.4.a: Invalid content was found starting with element ‘display-name‘. One of ‘{

web.xml 中async-supported爆紅叉叉 cvc-complex-type.2.4.a: Invalid content was found starting with element 'async-supported'.

class 表頭 start lex .org nco app lns pri 新建一個項目在web.xml中些東西是發現async-supported報紅叉 cvc-complex-type.2.4.a: Invalid content was found starti

python3用pip安裝wordcloud庫出現command 'x86_64-linux-gnu-gcc' failed with exit status 1

inux ubuntu tro ubunt get str x86_64 gnu nbsp python3用pip3安裝wordcloud庫出現command ‘x86_64-linux-gnu-gcc‘ failed with exit status 1 錯誤 系統 Ub