app2container upload-support-bundle command - AWS App2Container

app2container upload-support-bundle command

For assistance with troubleshooting, run this command to securely upload App2Container logs and supporting artifacts to the AWS App2Container support team. The following list shows the types of files that you can upload with the upload-support-bundle command:

  • App2Container logs

  • The analysis.json file

  • The Dockerfile

  • The deployment.json file

  • The EcsDeployment.yml or ecs-master.yml deployment artifacts

Syntax

app2container upload-support-bundle [--application-id id] [--support-message "message"] [--help]

Options

--application-id id

The application ID (required). After you run the inventory command, you can find the application ID in the inventory.json file in one of the following locations:

  • Linux: /root/inventory.json

  • Windows: C:\Users\Administrator\AppData\Local\.app2container-config\inventory.json

--support-message

Include a message for the App2Container support team with your bundle.

--help

Displays the command help.

Output

Console output is included in the Examples section for this command.

Examples

Choose the operating system platform tab for the application server or worker machine where you run the command.

Linux

Run the following command to upload a support bundle from a Linux operating system, including the application ID and a message for the support team.

$ sudo app2container upload-support-bundle --application-id java-tomcat-9e8e4799 --support-message "I ran into an issue during deployment ..." Support Message: I ran into an issue during deployment ... [displays while bundle is uploading] Uploading logs and supporting artifacts to App2Container support Support bundle upload successful
Windows

Run the following command to upload a support bundle from a Windows operating system, including the application ID and a message for the support team.

PS> app2container upload-support-bundle --application-id iis-smarts-51d2dbf8 --support-message "I ran into an issue during deployment ..." Support Message: I ran into an issue during deployment ... [displays while bundle is uploading] Uploading logs and supporting artifacts to App2Container support Support bundle upload successful