awscli 1.42.18__py3-none-any.whl → 1.42.19__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. awscli/__init__.py +1 -1
  2. awscli/customizations/argrename.py +0 -2
  3. awscli/handlers.py +0 -4
  4. {awscli-1.42.18.dist-info → awscli-1.42.19.dist-info}/METADATA +2 -2
  5. {awscli-1.42.18.dist-info → awscli-1.42.19.dist-info}/RECORD +13 -92
  6. awscli/customizations/opsworks.py +0 -543
  7. awscli/customizations/opsworkscm.py +0 -21
  8. awscli/examples/opsworks/assign-instance.rst +0 -14
  9. awscli/examples/opsworks/assign-volume.rst +0 -17
  10. awscli/examples/opsworks/associate-elastic-ip.rst +0 -14
  11. awscli/examples/opsworks/attach-elastic-load-balancer.rst +0 -14
  12. awscli/examples/opsworks/create-app.rst +0 -64
  13. awscli/examples/opsworks/create-deployment.rst +0 -66
  14. awscli/examples/opsworks/create-instance.rst +0 -25
  15. awscli/examples/opsworks/create-layer.rst +0 -17
  16. awscli/examples/opsworks/create-server.rst +0 -43
  17. awscli/examples/opsworks/create-stack.rst +0 -25
  18. awscli/examples/opsworks/create-user-profile.rst +0 -24
  19. awscli/examples/opsworks/delete-app.rst +0 -17
  20. awscli/examples/opsworks/delete-instance.rst +0 -15
  21. awscli/examples/opsworks/delete-layer.rst +0 -17
  22. awscli/examples/opsworks/delete-stack.rst +0 -18
  23. awscli/examples/opsworks/delete-user-profile.rst +0 -17
  24. awscli/examples/opsworks/deregister-elastic-ip.rst +0 -13
  25. awscli/examples/opsworks/deregister-instance.rst +0 -14
  26. awscli/examples/opsworks/deregister-rds-db-instance.rst +0 -20
  27. awscli/examples/opsworks/deregister-volume.rst +0 -15
  28. awscli/examples/opsworks/describe-apps.rst +0 -38
  29. awscli/examples/opsworks/describe-commands.rst +0 -43
  30. awscli/examples/opsworks/describe-deployments.rst +0 -52
  31. awscli/examples/opsworks/describe-elastic-ips.rst +0 -24
  32. awscli/examples/opsworks/describe-elastic-load-balancers.rst +0 -37
  33. awscli/examples/opsworks/describe-instances.rst +0 -95
  34. awscli/examples/opsworks/describe-layers.rst +0 -171
  35. awscli/examples/opsworks/describe-load-based-auto-scaling.rst +0 -37
  36. awscli/examples/opsworks/describe-my-user-profile.rst +0 -24
  37. awscli/examples/opsworks/describe-permissions.rst +0 -26
  38. awscli/examples/opsworks/describe-raid-arrays.rst +0 -31
  39. awscli/examples/opsworks/describe-rds-db-instances.rst +0 -29
  40. awscli/examples/opsworks/describe-stack-provisioning-parameters.rst +0 -32
  41. awscli/examples/opsworks/describe-stack-summary.rst +0 -27
  42. awscli/examples/opsworks/describe-stacks.rst +0 -65
  43. awscli/examples/opsworks/describe-timebased-auto-scaling.rst +0 -39
  44. awscli/examples/opsworks/describe-user-profiles.rst +0 -32
  45. awscli/examples/opsworks/describe-volumes.rst +0 -31
  46. awscli/examples/opsworks/detach-elastic-load-balancer.rst +0 -14
  47. awscli/examples/opsworks/disassociate-elastic-ip.rst +0 -14
  48. awscli/examples/opsworks/get-hostname-suggestion.rst +0 -21
  49. awscli/examples/opsworks/reboot-instance.rst +0 -14
  50. awscli/examples/opsworks/register-elastic-ip.rst +0 -19
  51. awscli/examples/opsworks/register-rds-db-instance.rst +0 -15
  52. awscli/examples/opsworks/register-volume.rst +0 -18
  53. awscli/examples/opsworks/register.rst +0 -105
  54. awscli/examples/opsworks/set-load-based-auto-scaling.rst +0 -38
  55. awscli/examples/opsworks/set-permission.rst +0 -23
  56. awscli/examples/opsworks/set-time-based-auto-scaling.rst +0 -33
  57. awscli/examples/opsworks/start-instance.rst +0 -20
  58. awscli/examples/opsworks/start-stack.rst +0 -15
  59. awscli/examples/opsworks/stop-instance.rst +0 -20
  60. awscli/examples/opsworks/stop-stack.rst +0 -15
  61. awscli/examples/opsworks/unassign-instance.rst +0 -14
  62. awscli/examples/opsworks/unassign-volume.rst +0 -16
  63. awscli/examples/opsworks/update-app.rst +0 -14
  64. awscli/examples/opsworks/update-elastic-ip.rst +0 -14
  65. awscli/examples/opsworks/update-instance.rst +0 -14
  66. awscli/examples/opsworks/update-layer.rst +0 -14
  67. awscli/examples/opsworks/update-my-user-profile.rst +0 -16
  68. awscli/examples/opsworks/update-rds-db-instance.rst +0 -18
  69. awscli/examples/opsworks/update-volume.rst +0 -16
  70. awscli/examples/opsworkscm/associate-node.rst +0 -22
  71. awscli/examples/opsworkscm/create-backup.rst +0 -46
  72. awscli/examples/opsworkscm/create-server.rst +0 -48
  73. awscli/examples/opsworkscm/delete-backup.rst +0 -17
  74. awscli/examples/opsworkscm/delete-server.rst +0 -16
  75. awscli/examples/opsworkscm/describe-account-attributes.rst +0 -26
  76. awscli/examples/opsworkscm/describe-backups.rst +0 -44
  77. awscli/examples/opsworkscm/describe-events.rst +0 -21
  78. awscli/examples/opsworkscm/describe-node-association-status.rst +0 -20
  79. awscli/examples/opsworkscm/describe-servers.rst +0 -48
  80. awscli/examples/opsworkscm/disassociate-node.rst +0 -19
  81. awscli/examples/opsworkscm/restore-server.rst +0 -20
  82. awscli/examples/opsworkscm/start-maintenance.rst +0 -39
  83. awscli/examples/opsworkscm/update-server-engine-attributes.rst +0 -43
  84. awscli/examples/opsworkscm/update-server.rst +0 -42
  85. {awscli-1.42.18.data → awscli-1.42.19.data}/scripts/aws +0 -0
  86. {awscli-1.42.18.data → awscli-1.42.19.data}/scripts/aws.cmd +0 -0
  87. {awscli-1.42.18.data → awscli-1.42.19.data}/scripts/aws_bash_completer +0 -0
  88. {awscli-1.42.18.data → awscli-1.42.19.data}/scripts/aws_completer +0 -0
  89. {awscli-1.42.18.data → awscli-1.42.19.data}/scripts/aws_zsh_completer.sh +0 -0
  90. {awscli-1.42.18.dist-info → awscli-1.42.19.dist-info}/LICENSE.txt +0 -0
  91. {awscli-1.42.18.dist-info → awscli-1.42.19.dist-info}/WHEEL +0 -0
  92. {awscli-1.42.18.dist-info → awscli-1.42.19.dist-info}/top_level.txt +0 -0
@@ -1,14 +0,0 @@
1
- **To disassociate an Elastic IP address from an instance**
2
-
3
- The following example disassociates an Elastic IP address from a specified instance. ::
4
-
5
- aws opsworks --region us-east-1 disassociate-elastic-ip --elastic-ip 54.148.130.96
6
-
7
- *Output*: None.
8
-
9
- **More Information**
10
-
11
- For more information, see `Resource Management`_ in the *AWS OpsWorks User Guide*.
12
-
13
- .. _`Resource Management`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html
14
-
@@ -1,21 +0,0 @@
1
- **To get the next hostname for a layer**
2
-
3
- The following example gets the next generated hostname for a specified layer. The layer used for
4
- this example is a Java Application Server layer with one instance. The stack's hostname theme is
5
- the default, Layer_Dependent. ::
6
-
7
- aws opsworks --region us-east-1 get-hostname-suggestion --layer-id 888c5645-09a5-4d0e-95a8-812ef1db76a4
8
-
9
- *Output*::
10
-
11
- {
12
- "Hostname": "java-app2",
13
- "LayerId": "888c5645-09a5-4d0e-95a8-812ef1db76a4"
14
- }
15
-
16
- **More Information**
17
-
18
- For more information, see `Create a New Stack`_ in the *AWS OpsWorks User Guide*.
19
-
20
- .. _`Create a New Stack`: http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html
21
-
@@ -1,14 +0,0 @@
1
- **To reboot an instance**
2
-
3
- The following example reboots an instance. ::
4
-
5
- aws opsworks --region us-east-1 reboot-instance --instance-id dfe18b02-5327-493d-91a4-c5c0c448927f
6
-
7
- *Output*: None.
8
-
9
- **More Information**
10
-
11
- For more information, see `Rebooting an Instance`_ in the *AWS OpsWorks User Guide*.
12
-
13
- .. _`Rebooting an Instance`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html#workinginstances-starting-reboot
14
-
@@ -1,19 +0,0 @@
1
- **To register an Elastic IP address with a stack**
2
-
3
- The following example registers an Elastic IP address, identified by its IP address, with a specified stack.
4
-
5
- **Note:** The Elastic IP address must be in the same region as the stack. ::
6
-
7
- aws opsworks register-elastic-ip --region us-east-1 --stack-id d72553d4-8727-448c-9b00-f024f0ba1b06 --elastic-ip 54.148.130.96
8
-
9
- *Output* ::
10
-
11
- {
12
- "ElasticIp": "54.148.130.96"
13
- }
14
-
15
- **More Information**
16
-
17
- For more information, see `Registering Elastic IP Addresses with a Stack`_ in the *OpsWorks User Guide*.
18
-
19
- .. _`Registering Elastic IP Addresses with a Stack`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources-reg.html#resources-reg-eip
@@ -1,15 +0,0 @@
1
- **To register an Amazon RDS instance with a stack**
2
-
3
- The following example registers an Amazon RDS DB instance, identified by its Amazon Resource Name (ARN), with a specified stack.
4
- It also specifies the instance's master username and password. Note that AWS OpsWorks does not validate either of these
5
- values. If either one is incorrect, your application will not be able to connect to the database. ::
6
-
7
- aws opsworks register-rds-db-instance --region us-east-1 --stack-id d72553d4-8727-448c-9b00-f024f0ba1b06 --rds-db-instance-arn arn:aws:rds:us-west-2:123456789012:db:clitestdb --db-user cliuser --db-password some23!pwd
8
-
9
- *Output*: None.
10
-
11
- **More Information**
12
-
13
- For more information, see `Registering Amazon RDS Instances with a Stack`_ in the *AWS OpsWorks User Guide*.
14
-
15
- .. _`Registering Amazon RDS Instances with a Stack`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources-reg.html#resources-reg-rds
@@ -1,18 +0,0 @@
1
- **To register an Amazon EBS volume with a stack**
2
-
3
- The following example registers an Amazon EBS volume, identified by its volume ID, with a specified stack. ::
4
-
5
- aws opsworks register-volume --region us-east-1 --stack-id d72553d4-8727-448c-9b00-f024f0ba1b06 --ec-2-volume-id vol-295c1638
6
-
7
- *Output*::
8
-
9
- {
10
- "VolumeId": "ee08039c-7cb7-469f-be10-40fb7f0c05e8"
11
- }
12
-
13
-
14
- **More Information**
15
-
16
- For more information, see `Registering Amazon EBS Volumes with a Stack`_ in the *AWS OpsWorks User Guide*.
17
-
18
- .. _`Registering Amazon EBS Volumes with a Stack`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources-reg.html#resources-reg-ebs
@@ -1,105 +0,0 @@
1
- **To register instances with a stack**
2
-
3
- The following examples show a variety of ways to register instances with a stack that were created outside of AWS Opsworks.
4
- You can run ``register`` from the instance to be registered, or from a separate workstation.
5
- For more information, see `Registering Amazon EC2 and On-premises Instances`_ in the *AWS OpsWorks User Guide*.
6
-
7
- .. _`Registering Amazon EC2 and On-premises Instances`: http://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-register-registering.html
8
-
9
-
10
- **Note**: For brevity, the examples omit the ``region`` argument.
11
-
12
- *To register an Amazon EC2 instance*
13
-
14
- To indicate that you are registering an EC2 instance, set the ``--infrastructure-class`` argument
15
- to ``ec2``.
16
-
17
- The following example registers an EC2 instance with the specified stack from a separate workstation.
18
- The instance is identified by its EC2 ID, ``i-12345678``. The example uses the workstation's default SSH username and attempts
19
- to log in to the instance using authentication techniques that do not require a password,
20
- such as a default private SSH key. If that fails, ``register`` queries for the password. ::
21
-
22
- aws opsworks register --infrastructure-class=ec2 --stack-id 935450cc-61e0-4b03-a3e0-160ac817d2bb i-12345678
23
-
24
- The following example registers an EC2 instance with the specifed stack from a separate workstation.
25
- It uses the ``--ssh-username`` and ``--ssh-private-key`` arguments to explicitly
26
- specify the SSH username and private key file that the command uses to log into the instance.
27
- ``ec2-user`` is the standard username for Amazon Linux instances. Use ``ubuntu`` for Ubuntu instances. ::
28
-
29
- aws opsworks register --infrastructure-class=ec2 --stack-id 935450cc-61e0-4b03-a3e0-160ac817d2bb --ssh-username ec2-user --ssh-private-key ssh_private_key i-12345678
30
-
31
- The following example registers the EC2 instance that is running the ``register`` command.
32
- Log in to the instance with SSH and run ``register`` with the ``--local`` argument instead of an instance ID or hostname. ::
33
-
34
- aws opsworks register --infrastructure-class ec2 --stack-id 935450cc-61e0-4b03-a3e0-160ac817d2bb --local
35
-
36
- *To register an on-premises instance*
37
-
38
- To indicate that you are registering an on-premises instance, set the ``--infrastructure-class`` argument
39
- to ``on-premises``.
40
-
41
- The following example registers an existing on-premises instance with a specified stack from a separate workstation.
42
- The instance is identified by its IP address, ``192.0.2.3``. The example uses the workstation's default SSH username and attempts
43
- to log in to the instance using authentication techniques that do not require a password,
44
- such as a default private SSH key. If that fails, ``register`` queries for the password. ::
45
-
46
- aws opsworks register --infrastructure-class on-premises --stack-id 935450cc-61e0-4b03-a3e0-160ac817d2bb 192.0.2.3
47
-
48
- The following example registers an on-premises instance with a specified stack from a separate workstation.
49
- The instance is identified by its hostname, ``host1``. The ``--override-...`` arguments direct AWS OpsWorks
50
- to display ``webserver1`` as the host name and ``192.0.2.3`` and ``10.0.0.2`` as the instance's public and
51
- private IP addresses, respectively. ::
52
-
53
- aws opsworks register --infrastructure-class on-premises --stack-id 935450cc-61e0-4b03-a3e0-160ac817d2bb --override-hostname webserver1 --override-public-ip 192.0.2.3 --override-private-ip 10.0.0.2 host1
54
-
55
- The following example registers an on-premises instance with a specified stack from a separate workstation.
56
- The instance is identified by its IP address. ``register`` logs into the instance using the specified SSH username and private key file. ::
57
-
58
- aws opsworks register --infrastructure-class on-premises --stack-id 935450cc-61e0-4b03-a3e0-160ac817d2bb --ssh-username admin --ssh-private-key ssh_private_key 192.0.2.3
59
-
60
- The following example registers an existing on-premises instance with a specified stack from a separate workstation.
61
- The command logs into the instance using a custom SSH command string that specifies
62
- the SSH password and the instance's IP address. ::
63
-
64
- aws opsworks register --infrastructure-class on-premises --stack-id 935450cc-61e0-4b03-a3e0-160ac817d2bb --override-ssh "sshpass -p 'mypassword' ssh your-user@192.0.2.3"
65
-
66
- The following example registers the on-premises instance that is running the ``register`` command.
67
- Log in to the instance with SSH and run ``register`` with the ``--local`` argument instead of an instance ID or hostname. ::
68
-
69
- aws opsworks register --infrastructure-class on-premises --stack-id 935450cc-61e0-4b03-a3e0-160ac817d2bb --local
70
-
71
- *Output*: The following is typical output for registering an EC2 instance.
72
-
73
- ::
74
-
75
- Warning: Permanently added '52.11.41.206' (ECDSA) to the list of known hosts.
76
- % Total % Received % Xferd Average Speed Time Time Time Current
77
- Dload Upload Total Spent Left Speed
78
- 100 6403k 100 6403k 0 0 2121k 0 0:00:03 0:00:03 --:--:-- 2121k
79
- [Tue, 24 Feb 2015 20:48:37 +0000] opsworks-init: Initializing AWS OpsWorks environment
80
- [Tue, 24 Feb 2015 20:48:37 +0000] opsworks-init: Running on Ubuntu
81
- [Tue, 24 Feb 2015 20:48:37 +0000] opsworks-init: Checking if OS is supported
82
- [Tue, 24 Feb 2015 20:48:37 +0000] opsworks-init: Running on supported OS
83
- [Tue, 24 Feb 2015 20:48:37 +0000] opsworks-init: Setup motd
84
- [Tue, 24 Feb 2015 20:48:37 +0000] opsworks-init: Executing: ln -sf --backup /etc/motd.opsworks-static /etc/motd
85
- [Tue, 24 Feb 2015 20:48:37 +0000] opsworks-init: Enabling multiverse repositories
86
- [Tue, 24 Feb 2015 20:48:37 +0000] opsworks-init: Customizing APT environment
87
- [Tue, 24 Feb 2015 20:48:37 +0000] opsworks-init: Installing system packages
88
- [Tue, 24 Feb 2015 20:48:37 +0000] opsworks-init: Executing: dpkg --configure -a
89
- [Tue, 24 Feb 2015 20:48:37 +0000] opsworks-init: Executing with retry: apt-get update
90
- [Tue, 24 Feb 2015 20:49:13 +0000] opsworks-init: Executing: apt-get install -y ruby ruby-dev libicu-dev libssl-dev libxslt-dev libxml2-dev libyaml-dev monit
91
- [Tue, 24 Feb 2015 20:50:13 +0000] opsworks-init: Using assets bucket from environment: 'opsworks-instance-assets-us-east-1.s3.amazonaws.com'.
92
- [Tue, 24 Feb 2015 20:50:13 +0000] opsworks-init: Installing Ruby for the agent
93
- [Tue, 24 Feb 2015 20:50:13 +0000] opsworks-init: Executing: /tmp/opsworks-agent-installer.YgGq8wF3UUre6yDy/opsworks-agent-installer/opsworks-agent/bin/installer_wrapper.sh -r -R opsworks-instance-assets-us-east-1.s3.amazonaws.com
94
- [Tue, 24 Feb 2015 20:50:44 +0000] opsworks-init: Starting the installer
95
- Instance successfully registered. Instance ID: 4d6d1710-ded9-42a1-b08e-b043ad7af1e2
96
- Connection to 52.11.41.206 closed.
97
-
98
- **More Information**
99
-
100
- For more information, see `Registering an Instance with an AWS OpsWorks Stack`_ in the *AWS OpsWorks User Guide*.
101
-
102
- .. _`Registering an Instance with an AWS OpsWorks Stack`: http://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-register.html
103
-
104
-
105
-
@@ -1,38 +0,0 @@
1
- **To set the load-based scaling configuration for a layer**
2
-
3
- The following example enables load-based scaling for a specified layer and sets the configuration
4
- for that layer.
5
- You must use ``create-instance`` to add load-based instances to the layer. ::
6
-
7
- aws opsworks --region us-east-1 set-load-based-auto-scaling --layer-id 523569ae-2faf-47ac-b39e-f4c4b381f36d --enable --up-scaling file://upscale.json --down-scaling file://downscale.json
8
-
9
- The example puts the upscaling threshold settings in a separate file in the working directory named ``upscale.json``, which contains the following. ::
10
-
11
- {
12
- "InstanceCount": 2,
13
- "ThresholdsWaitTime": 3,
14
- "IgnoreMetricsTime": 3,
15
- "CpuThreshold": 85,
16
- "MemoryThreshold": 85,
17
- "LoadThreshold": 85
18
- }
19
-
20
- The example puts the downscaling threshold settings in a separate file in the working directory named ``downscale.json``, which contains the following. ::
21
-
22
- {
23
- "InstanceCount": 2,
24
- "ThresholdsWaitTime": 3,
25
- "IgnoreMetricsTime": 3,
26
- "CpuThreshold": 35,
27
- "MemoryThreshold": 30,
28
- "LoadThreshold": 30
29
- }
30
-
31
- *Output*: None.
32
-
33
- **More Information**
34
-
35
- For more information, see `Using Automatic Load-based Scaling`_ in the *AWS OpsWorks User Guide*.
36
-
37
- .. _`Using Automatic Load-based Scaling`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-autoscaling-loadbased.html
38
-
@@ -1,23 +0,0 @@
1
- **To grant per-stack AWS OpsWorks permission levels**
2
-
3
- When you import an AWS Identity and Access Management (IAM) user into AWS OpsWorks by calling ``create-user-profile``, the user has only those
4
- permissions that are granted by the attached IAM policies.
5
- You can grant AWS OpsWorks permissions by modifying a user's policies.
6
- However, it is often easier to import a user and then use the ``set-permission`` command to grant
7
- the user one of the standard permission levels for each stack to which the user will need access.
8
-
9
- The following example grants permission for the specified stack for a user, who
10
- is identified by Amazon Resource Name (ARN). The example grants the user a Manage permissions level, with sudo and SSH privileges on the stack's
11
- instances. ::
12
-
13
- aws opsworks set-permission --region us-east-1 --stack-id 71c7ca72-55ae-4b6a-8ee1-a8dcded3fa0f --level manage --iam-user-arn arn:aws:iam::123456789102:user/cli-user-test --allow-ssh --allow-sudo
14
-
15
-
16
- *Output*: None.
17
-
18
- **More Information**
19
-
20
- For more information, see `Granting AWS OpsWorks Users Per-Stack Permissions`_ in the *AWS OpsWorks User Guide*.
21
-
22
- .. _`Granting AWS OpsWorks Users Per-Stack Permissions`: http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users-console.html
23
-
@@ -1,33 +0,0 @@
1
- **To set the time-based scaling configuration for a layer**
2
-
3
- The following example sets the time-based configuration for a specified instance.
4
- You must first use ``create-instance`` to add the instance to the layer. ::
5
-
6
- aws opsworks --region us-east-1 set-time-based-auto-scaling --instance-id 69b6237c-08c0-4edb-a6af-78f3d01cedf2 --auto-scaling-schedule file://schedule.json
7
-
8
- The example puts the schedule in a separate file in the working directory named ``schedule.json``.
9
- For this example, the instance is on for a few hours around midday UTC (Coordinated Universal Time) on Monday and Tuesday. ::
10
-
11
- {
12
- "Monday": {
13
- "10": "on",
14
- "11": "on",
15
- "12": "on",
16
- "13": "on"
17
- },
18
- "Tuesday": {
19
- "10": "on",
20
- "11": "on",
21
- "12": "on",
22
- "13": "on"
23
- }
24
- }
25
-
26
- *Output*: None.
27
-
28
- **More Information**
29
-
30
- For more information, see `Using Automatic Time-based Scaling`_ in the *AWS OpsWorks User Guide*.
31
-
32
- .. _`Using Automatic Time-based Scaling`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-autoscaling-timebased.html
33
-
@@ -1,20 +0,0 @@
1
- **To start an instance**
2
-
3
- The following ``start-instance`` command starts a specified 24/7 instance. ::
4
-
5
- aws opsworks start-instance --instance-id f705ee48-9000-4890-8bd3-20eb05825aaf
6
-
7
- *Output*: None. Use describe-instances_ to check the instance's status.
8
-
9
- .. _describe-instances: http://docs.aws.amazon.com/cli/latest/reference/opsworks/describe-instances.html
10
-
11
- **Tip** You can start every offline instance in a stack with one command by calling start-stack_.
12
-
13
- .. _start-stack: http://docs.aws.amazon.com/cli/latest/reference/opsworks/start-stack.html
14
-
15
- **More Information**
16
-
17
- For more information, see `Manually Starting, Stopping, and Rebooting 24/7 Instances`_ in the *AWS OpsWorks User Guide*.
18
-
19
- .. _`Manually Starting, Stopping, and Rebooting 24/7 Instances`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html
20
-
@@ -1,15 +0,0 @@
1
- **To start a stack's instances**
2
-
3
- The following example starts all of a stack's 24/7 instances.
4
- To start a particular instance, use ``start-instance``. ::
5
-
6
- aws opsworks --region us-east-1 start-stack --stack-id 8c428b08-a1a1-46ce-a5f8-feddc43771b8
7
-
8
- *Output*: None.
9
-
10
- **More Information**
11
-
12
- For more information, see `Starting an Instance`_ in the *AWS OpsWorks User Guide*.
13
-
14
- .. _`Starting an Instance`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html#workinginstances-starting-start
15
-
@@ -1,20 +0,0 @@
1
- **To stop an instance**
2
-
3
- The following example stops a specified instance, which is identified by its instance ID.
4
- You can obtain an instance ID by going to the instance's details page on the AWS OpsWorks console or by
5
- running the ``describe-instances`` command. ::
6
-
7
- aws opsworks stop-instance --region us-east-1 --instance-id 3a21cfac-4a1f-4ce2-a921-b2cfba6f7771
8
-
9
- You can restart a stopped instance by calling ``start-instance`` or by deleting the instance by calling
10
- ``delete-instance``.
11
-
12
- *Output*: None.
13
-
14
- **More Information**
15
-
16
- For more information, see `Stopping an Instance`_ in the *AWS OpsWorks User Guide*.
17
-
18
- .. _`Stopping an Instance`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html#workinginstances-starting-stop
19
-
20
-
@@ -1,15 +0,0 @@
1
- **To stop a stack's instances**
2
-
3
- The following example stops all of a stack's 24/7 instances.
4
- To stop a particular instance, use ``stop-instance``. ::
5
-
6
- aws opsworks --region us-east-1 stop-stack --stack-id 8c428b08-a1a1-46ce-a5f8-feddc43771b8
7
-
8
- *Output*: No output.
9
-
10
- **More Information**
11
-
12
- For more information, see `Stopping an Instance`_ in the *AWS OpsWorks User Guide*.
13
-
14
- .. _`Stopping an Instance`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html#workinginstances-starting-stop
15
-
@@ -1,14 +0,0 @@
1
- **To unassign a registered instance from its layers**
2
-
3
- The following ``unassign-instance`` command unassigns an instance from its attached layers. ::
4
-
5
- aws opsworks --region us-east-1 unassign-instance --instance-id 4d6d1710-ded9-42a1-b08e-b043ad7af1e2
6
-
7
- **Output**: None.
8
-
9
- **More Information**
10
-
11
- For more information, see `Unassigning a Registered Instance`_ in the *AWS OpsWorks User Guide*.
12
-
13
- .. _`Unassigning a Registered Instance`: http://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-unassign.html
14
-
@@ -1,16 +0,0 @@
1
- **To unassign a volume from its instance**
2
-
3
- The following example unassigns a registered Amazon Elastic Block Store (Amazon EBS) volume from its instance.
4
- The volume is identified by its volume ID, which is the GUID that AWS OpsWorks assigns when
5
- you register the volume with a stack, not the Amazon Elastic Compute Cloud (Amazon EC2) volume ID. ::
6
-
7
- aws opsworks --region us-east-1 unassign-volume --volume-id 8430177d-52b7-4948-9c62-e195af4703df
8
-
9
- *Output*: None.
10
-
11
- **More Information**
12
-
13
- For more information, see `Unassigning Amazon EBS Volumes`_ in the *AWS OpsWorks User Guide*.
14
-
15
- .. _`Unassigning Amazon EBS Volumes`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources-detach.html#resources-detach-ebs
16
-
@@ -1,14 +0,0 @@
1
- **To update an app**
2
-
3
- The following example updates a specified app to change its name. ::
4
-
5
- aws opsworks --region us-east-1 update-app --app-id 26a61ead-d201-47e3-b55c-2a7c666942f8 --name NewAppName
6
-
7
- *Output*: None.
8
-
9
- **More Information**
10
-
11
- For more information, see `Editing Apps`_ in the *AWS OpsWorks User Guide*.
12
-
13
- .. _`Editing Apps`: http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-editing.html
14
-
@@ -1,14 +0,0 @@
1
- **To update an Elastic IP address name**
2
-
3
- The following example updates the name of a specified Elastic IP address. ::
4
-
5
- aws opsworks --region us-east-1 update-elastic-ip --elastic-ip 54.148.130.96 --name NewIPName
6
-
7
- *Output*: None.
8
-
9
- **More Information**
10
-
11
- For more information, see `Resource Management`_ in the *AWS OpsWorks User Guide*.
12
-
13
- .. _`Resource Management`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html
14
-
@@ -1,14 +0,0 @@
1
- **To update an instance**
2
-
3
- The following example updates a specified instance's type. ::
4
-
5
- aws opsworks --region us-east-1 update-instance --instance-id dfe18b02-5327-493d-91a4-c5c0c448927f --instance-type c3.xlarge
6
-
7
- *Output*: None.
8
-
9
- **More Information**
10
-
11
- For more information, see `Editing the Instance Configuration`_ in the *AWS OpsWorks User Guide*.
12
-
13
- .. _`Editing the Instance Configuration`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-properties.html
14
-
@@ -1,14 +0,0 @@
1
- **To update a layer**
2
-
3
- The following example updates a specified layer to use Amazon EBS-optimized instances. ::
4
-
5
- aws opsworks --region us-east-1 update-layer --layer-id 888c5645-09a5-4d0e-95a8-812ef1db76a4 --use-ebs-optimized-instances
6
-
7
- *Output*: None.
8
-
9
- **More Information**
10
-
11
- For more information, see `Editing an OpsWorks Layer's Configuration`_ in the *AWS OpsWorks User Guide*.
12
-
13
- .. _`Editing an OpsWorks Layer's Configuration`: http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html
14
-
@@ -1,16 +0,0 @@
1
- **To update a user's profile**
2
-
3
- The following example updates the ``development`` user's profile to use a specified SSH public key.
4
- The user's AWS credentials are represented by the ``development`` profile in the ``credentials`` file
5
- (``~\.aws\credentials``), and the key is in a ``.pem`` file in the working directory. ::
6
-
7
- aws opsworks --region us-east-1 --profile development update-my-user-profile --ssh-public-key file://development_key.pem
8
-
9
- *Output*: None.
10
-
11
- **More Information**
12
-
13
- For more information, see `Editing AWS OpsWorks User Settings`_ in the *AWS OpsWorks User Guide*.
14
-
15
- .. _`Editing AWS OpsWorks User Settings`: http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users-manage-edit.html
16
-
@@ -1,18 +0,0 @@
1
- **To update a registered Amazon RDS DB instance**
2
-
3
- The following example updates an Amazon RDS instance's master password value.
4
- Note that this command does not change the RDS instance's master password, just the password that
5
- you provide to AWS OpsWorks.
6
- If this password does not match the RDS instance's password,
7
- your application will not be able to connect to the database. ::
8
-
9
- aws opsworks --region us-east-1 update-rds-db-instance --db-password 123456789
10
-
11
- *Output*: None.
12
-
13
- **More Information**
14
-
15
- For more information, see `Registering Amazon RDS Instances with a Stack`_ in the *AWS OpsWorks User Guide*.
16
-
17
- .. _`Registering Amazon RDS Instances with a Stack`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources-reg.html#resources-reg-rds
18
-
@@ -1,16 +0,0 @@
1
- **To update a registered volume**
2
-
3
- The following example updates a registered Amazon Elastic Block Store (Amazon EBS) volume's mount point.
4
- The volume is identified by its volume ID, which is the GUID that AWS OpsWorks assigns to the volume when
5
- you register it with a stack, not the Amazon Elastic Compute Cloud (Amazon EC2) volume ID.::
6
-
7
- aws opsworks --region us-east-1 update-volume --volume-id 8430177d-52b7-4948-9c62-e195af4703df --mount-point /mnt/myvol
8
-
9
- *Output*: None.
10
-
11
- **More Information**
12
-
13
- For more information, see `Assigning Amazon EBS Volumes to an Instance`_ in the *AWS OpsWorks User Guide*.
14
-
15
- .. _`Assigning Amazon EBS Volumes to an Instance`: http://docs.aws.amazon.com/opsworks/latest/userguide/resources-attach.html#resources-attach-ebs
16
-
@@ -1,22 +0,0 @@
1
- **To associate nodes**
2
-
3
- The following ``associate-node`` command associates a node named ``i-44de882p`` with
4
- a Chef Automate server named ``automate-06``, meaning that the ``automate-06`` server
5
- manages the node, and communicates recipe commands to the node through ``chef-client`` agent software
6
- that is installed on the node by the associate-node command. Valid node names are EC2 instance IDs.::
7
-
8
- aws opsworks-cm associate-node --server-name "automate-06" --node-name "i-43de882p" --engine-attributes "Name=CHEF_ORGANIZATION,Value='MyOrganization' Name=CHEF_NODE_PUBLIC_KEY,Value='Public_key_contents'"
9
-
10
- The output returned by the command resembles the following.
11
- *Output*::
12
-
13
- {
14
- "NodeAssociationStatusToken": "AHUY8wFe4pdXtZC5DiJa5SOLp5o14DH//rHRqHDWXxwVoNBxcEy4V7R0NOFymh7E/1HumOBPsemPQFE6dcGaiFk"
15
- }
16
-
17
- **More Information**
18
-
19
- For more information, see `Adding Nodes Automatically in AWS OpsWorks for Chef Automate`_ in the *AWS OpsWorks User Guide*.
20
-
21
- .. _`Adding Nodes Automatically in AWS OpsWorks for Chef Automate`: http://docs.aws.amazon.com/opsworks/latest/userguide/opscm-unattend-assoc.html
22
-
@@ -1,46 +0,0 @@
1
- **To create backups**
2
-
3
- The following ``create-backup`` command starts a manual backup of a Chef Automate server
4
- named ``automate-06`` in the ``us-east-1`` region. The command adds a descriptive message to
5
- the backup in the ``--description`` parameter. ::
6
-
7
- aws opsworks-cm create-backup \
8
- --server-name 'automate-06' \
9
- --description "state of my infrastructure at launch"
10
-
11
- The output shows you information similar to the following about the new backup.
12
-
13
- Output::
14
-
15
- {
16
- "Backups": [
17
- {
18
- "BackupArn": "string",
19
- "BackupId": "automate-06-20160729133847520",
20
- "BackupType": "MANUAL",
21
- "CreatedAt": 2016-07-29T13:38:47.520Z,
22
- "Description": "state of my infrastructure at launch",
23
- "Engine": "Chef",
24
- "EngineModel": "Single",
25
- "EngineVersion": "12",
26
- "InstanceProfileArn": "arn:aws:iam::1019881987024:instance-profile/automate-06-1010V4UU2WRM2",
27
- "InstanceType": "m4.large",
28
- "KeyPair": "",
29
- "PreferredBackupWindow": "",
30
- "PreferredMaintenanceWindow": "",
31
- "S3LogUrl": "https://s3.amazonaws.com/<bucket-name>/automate-06-20160729133847520",
32
- "SecurityGroupIds": [ "sg-1a24c270" ],
33
- "ServerName": "automate-06",
34
- "ServiceRoleArn": "arn:aws:iam::1019881987024:role/aws-opsworks-cm-service-role.1114810729735",
35
- "Status": "OK",
36
- "StatusDescription": "",
37
- "SubnetIds": [ "subnet-49436a18" ],
38
- "ToolsVersion": "string",
39
- "UserArn": "arn:aws:iam::1019881987024:user/opsworks-user"
40
- }
41
- ],
42
- }
43
-
44
- For more information, see `Back Up and Restore an AWS OpsWorks for Chef Automate Server`_ in the *AWS OpsWorks User Guide*.
45
-
46
- .. _`Back Up and Restore an AWS OpsWorks for Chef Automate Server`: http://docs.aws.amazon.com/opsworks/latest/userguide/opscm-backup-restore.html