awscli 1.42.7__py3-none-any.whl → 1.44.26__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.
- awscli/__init__.py +1 -1
- awscli/alias.py +3 -3
- awscli/argprocess.py +7 -2
- awscli/arguments.py +1 -1
- awscli/bcdoc/docevents.py +3 -0
- awscli/clidocs.py +19 -2
- awscli/clidriver.py +55 -9
- awscli/customizations/argrename.py +1 -3
- awscli/customizations/cliinputjson.py +4 -0
- awscli/customizations/cloudformation/deploy.py +19 -3
- awscli/customizations/cloudtrail/validation.py +22 -2
- awscli/customizations/commands.py +2 -1
- awscli/customizations/eks/update_kubeconfig.py +12 -1
- awscli/customizations/emr/argumentschema.py +355 -344
- awscli/customizations/emr/createcluster.py +12 -0
- awscli/customizations/emr/emrutils.py +83 -50
- awscli/customizations/emr/helptext.py +10 -0
- awscli/customizations/emr/steputils.py +92 -52
- awscli/customizations/gamelift/uploadbuild.py +24 -11
- awscli/customizations/globalargs.py +169 -0
- awscli/customizations/paginate.py +66 -1
- awscli/customizations/s3/filegenerator.py +4 -1
- awscli/customizations/s3/fileinfo.py +4 -1
- awscli/customizations/s3/fileinfobuilder.py +6 -0
- awscli/customizations/s3/s3handler.py +9 -0
- awscli/customizations/s3/subcommands.py +147 -6
- awscli/customizations/s3/syncstrategy/base.py +9 -0
- awscli/customizations/s3/syncstrategy/caseconflict.py +96 -0
- awscli/customizations/s3/utils.py +14 -0
- awscli/customizations/scalarparse.py +48 -9
- awscli/data/cli.json +5 -0
- awscli/examples/apigateway/update-vpc-link.rst +47 -0
- awscli/examples/application-signals/batch-get-service-level-objective-budget-report.rst +99 -0
- awscli/examples/application-signals/create-service-level-objective.rst +88 -0
- awscli/examples/application-signals/delete-service-level-objective.rst +10 -0
- awscli/examples/application-signals/get-service-level-objective.rst +53 -0
- awscli/examples/application-signals/get-service.rst +72 -0
- awscli/examples/application-signals/list-service-dependencies.rst +96 -0
- awscli/examples/application-signals/list-service-dependents.rst +36 -0
- awscli/examples/application-signals/list-service-level-objectives.rst +17 -0
- awscli/examples/application-signals/list-service-operations.rst +63 -0
- awscli/examples/application-signals/list-services.rst +61 -0
- awscli/examples/application-signals/list-tags-for-resource.rst +17 -0
- awscli/examples/application-signals/start-discovery.rst +9 -0
- awscli/examples/application-signals/tag-resource.rst +11 -0
- awscli/examples/application-signals/untag-resource.rst +11 -0
- awscli/examples/application-signals/update-service-level-objective.rst +69 -0
- awscli/examples/cloudformation/create-generated-template.rst +50 -0
- awscli/examples/cloudformation/create-stack-refactor.rst +16 -0
- awscli/examples/cloudformation/delete-generated-template.rst +10 -0
- awscli/examples/cloudformation/describe-generated-template.rst +62 -0
- awscli/examples/cloudformation/describe-resource-scan.rst +38 -0
- awscli/examples/cloudformation/describe-stack-refactor.rst +20 -0
- awscli/examples/cloudformation/execute-stack-refactor.rst +10 -0
- awscli/examples/cloudformation/list-generated-templates.rst +41 -0
- awscli/examples/cloudformation/list-resource-scan-related-resources.rst +47 -0
- awscli/examples/cloudformation/list-resource-scan-resources.rst +30 -0
- awscli/examples/cloudformation/list-stack-refactor-actions.rst +71 -0
- awscli/examples/cloudformation/start-resource-scan.rst +14 -0
- awscli/examples/ec2/authorize-security-group-ingress.rst +1 -1
- awscli/examples/global_options.rst +4 -0
- awscli/examples/global_synopsis.rst +1 -0
- awscli/examples/guardduty/update-detector.rst +23 -0
- awscli/examples/ivs-realtime/get-composition.rst +7 -4
- awscli/examples/ivs-realtime/start-composition.rst +88 -3
- awscli/examples/lambda/create-function.rst +4 -4
- awscli/examples/lambda/get-function.rst +3 -3
- awscli/examples/lambda/list-functions.rst +6 -6
- awscli/examples/medical-imaging/create-datastore.rst +19 -2
- awscli/examples/medical-imaging/get-datastore.rst +24 -1
- awscli/examples/networkmanager/get-vpc-attachment.rst +1 -1
- awscli/examples/securityhub/describe-hub.rst +6 -4
- awscli/examples/servicediscovery/create-service.rst +50 -10
- awscli/examples/servicediscovery/delete-namespace.rst +18 -4
- awscli/examples/servicediscovery/delete-service-attributes.rst +15 -3
- awscli/examples/servicediscovery/delete-service.rst +13 -3
- awscli/examples/servicediscovery/deregister-instance.rst +18 -2
- awscli/examples/servicediscovery/discover-instances-revision.rst +18 -1
- awscli/examples/servicediscovery/discover-instances.rst +32 -2
- awscli/examples/servicediscovery/get-instance.rst +30 -4
- awscli/examples/servicediscovery/get-instances-health-status.rst +19 -1
- awscli/examples/servicediscovery/get-namespace.rst +40 -9
- awscli/examples/servicediscovery/get-operation.rst +32 -6
- awscli/examples/servicediscovery/get-service-attributes.rst +25 -3
- awscli/examples/servicediscovery/get-service.rst +35 -7
- awscli/examples/servicediscovery/list-instances.rst +38 -3
- awscli/examples/servicediscovery/list-namespaces.rst +45 -22
- awscli/examples/servicediscovery/list-services.rst +30 -2
- awscli/examples/servicediscovery/register-instance.rst +18 -2
- awscli/examples/servicediscovery/update-http-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-instance-custom-health-status.rst +14 -1
- awscli/examples/servicediscovery/update-private-dns-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-public-dns-namespace.rst +22 -5
- awscli/examples/servicediscovery/update-service-attributes.rst +14 -2
- awscli/examples/servicediscovery/update-service.rst +20 -4
- awscli/handlers.py +0 -4
- awscli/paramfile.py +21 -4
- awscli/testutils.py +17 -0
- awscli/topics/config-vars.rst +1 -1
- awscli/topics/s3-case-insensitivity.rst +105 -0
- awscli/topics/topic-tags.json +16 -0
- awscli/utils.py +19 -2
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/METADATA +16 -3
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/RECORD +112 -231
- awscli/customizations/opsworks.py +0 -543
- awscli/customizations/opsworkscm.py +0 -21
- awscli/examples/elastictranscoder/cancel-job.rst +0 -8
- awscli/examples/elastictranscoder/create-job.rst +0 -94
- awscli/examples/elastictranscoder/create-pipeline.rst +0 -94
- awscli/examples/elastictranscoder/create-preset.rst +0 -141
- awscli/examples/elastictranscoder/delete-pipeline.rst +0 -13
- awscli/examples/elastictranscoder/delete-preset.rst +0 -8
- awscli/examples/elastictranscoder/list-jobs-by-pipeline.rst +0 -13
- awscli/examples/elastictranscoder/list-jobs-by-status.rst +0 -14
- awscli/examples/elastictranscoder/list-pipelines.rst +0 -84
- awscli/examples/elastictranscoder/list-presets.rst +0 -95
- awscli/examples/elastictranscoder/read-job.rst +0 -65
- awscli/examples/elastictranscoder/read-pipeline.rst +0 -59
- awscli/examples/elastictranscoder/read-preset.rst +0 -100
- awscli/examples/elastictranscoder/update-pipeline-notifications.rst +0 -52
- awscli/examples/elastictranscoder/update-pipeline-status.rst +0 -53
- awscli/examples/elastictranscoder/update-pipeline.rst +0 -95
- awscli/examples/opsworks/assign-instance.rst +0 -14
- awscli/examples/opsworks/assign-volume.rst +0 -17
- awscli/examples/opsworks/associate-elastic-ip.rst +0 -14
- awscli/examples/opsworks/attach-elastic-load-balancer.rst +0 -14
- awscli/examples/opsworks/create-app.rst +0 -64
- awscli/examples/opsworks/create-deployment.rst +0 -66
- awscli/examples/opsworks/create-instance.rst +0 -25
- awscli/examples/opsworks/create-layer.rst +0 -17
- awscli/examples/opsworks/create-server.rst +0 -43
- awscli/examples/opsworks/create-stack.rst +0 -25
- awscli/examples/opsworks/create-user-profile.rst +0 -24
- awscli/examples/opsworks/delete-app.rst +0 -17
- awscli/examples/opsworks/delete-instance.rst +0 -15
- awscli/examples/opsworks/delete-layer.rst +0 -17
- awscli/examples/opsworks/delete-stack.rst +0 -18
- awscli/examples/opsworks/delete-user-profile.rst +0 -17
- awscli/examples/opsworks/deregister-elastic-ip.rst +0 -13
- awscli/examples/opsworks/deregister-instance.rst +0 -14
- awscli/examples/opsworks/deregister-rds-db-instance.rst +0 -20
- awscli/examples/opsworks/deregister-volume.rst +0 -15
- awscli/examples/opsworks/describe-apps.rst +0 -38
- awscli/examples/opsworks/describe-commands.rst +0 -43
- awscli/examples/opsworks/describe-deployments.rst +0 -52
- awscli/examples/opsworks/describe-elastic-ips.rst +0 -24
- awscli/examples/opsworks/describe-elastic-load-balancers.rst +0 -37
- awscli/examples/opsworks/describe-instances.rst +0 -95
- awscli/examples/opsworks/describe-layers.rst +0 -171
- awscli/examples/opsworks/describe-load-based-auto-scaling.rst +0 -37
- awscli/examples/opsworks/describe-my-user-profile.rst +0 -24
- awscli/examples/opsworks/describe-permissions.rst +0 -26
- awscli/examples/opsworks/describe-raid-arrays.rst +0 -31
- awscli/examples/opsworks/describe-rds-db-instances.rst +0 -29
- awscli/examples/opsworks/describe-stack-provisioning-parameters.rst +0 -32
- awscli/examples/opsworks/describe-stack-summary.rst +0 -27
- awscli/examples/opsworks/describe-stacks.rst +0 -65
- awscli/examples/opsworks/describe-timebased-auto-scaling.rst +0 -39
- awscli/examples/opsworks/describe-user-profiles.rst +0 -32
- awscli/examples/opsworks/describe-volumes.rst +0 -31
- awscli/examples/opsworks/detach-elastic-load-balancer.rst +0 -14
- awscli/examples/opsworks/disassociate-elastic-ip.rst +0 -14
- awscli/examples/opsworks/get-hostname-suggestion.rst +0 -21
- awscli/examples/opsworks/reboot-instance.rst +0 -14
- awscli/examples/opsworks/register-elastic-ip.rst +0 -19
- awscli/examples/opsworks/register-rds-db-instance.rst +0 -15
- awscli/examples/opsworks/register-volume.rst +0 -18
- awscli/examples/opsworks/register.rst +0 -105
- awscli/examples/opsworks/set-load-based-auto-scaling.rst +0 -38
- awscli/examples/opsworks/set-permission.rst +0 -23
- awscli/examples/opsworks/set-time-based-auto-scaling.rst +0 -33
- awscli/examples/opsworks/start-instance.rst +0 -20
- awscli/examples/opsworks/start-stack.rst +0 -15
- awscli/examples/opsworks/stop-instance.rst +0 -20
- awscli/examples/opsworks/stop-stack.rst +0 -15
- awscli/examples/opsworks/unassign-instance.rst +0 -14
- awscli/examples/opsworks/unassign-volume.rst +0 -16
- awscli/examples/opsworks/update-app.rst +0 -14
- awscli/examples/opsworks/update-elastic-ip.rst +0 -14
- awscli/examples/opsworks/update-instance.rst +0 -14
- awscli/examples/opsworks/update-layer.rst +0 -14
- awscli/examples/opsworks/update-my-user-profile.rst +0 -16
- awscli/examples/opsworks/update-rds-db-instance.rst +0 -18
- awscli/examples/opsworks/update-volume.rst +0 -16
- awscli/examples/opsworkscm/associate-node.rst +0 -22
- awscli/examples/opsworkscm/create-backup.rst +0 -46
- awscli/examples/opsworkscm/create-server.rst +0 -48
- awscli/examples/opsworkscm/delete-backup.rst +0 -17
- awscli/examples/opsworkscm/delete-server.rst +0 -16
- awscli/examples/opsworkscm/describe-account-attributes.rst +0 -26
- awscli/examples/opsworkscm/describe-backups.rst +0 -44
- awscli/examples/opsworkscm/describe-events.rst +0 -21
- awscli/examples/opsworkscm/describe-node-association-status.rst +0 -20
- awscli/examples/opsworkscm/describe-servers.rst +0 -48
- awscli/examples/opsworkscm/disassociate-node.rst +0 -19
- awscli/examples/opsworkscm/restore-server.rst +0 -20
- awscli/examples/opsworkscm/start-maintenance.rst +0 -39
- awscli/examples/opsworkscm/update-server-engine-attributes.rst +0 -43
- awscli/examples/opsworkscm/update-server.rst +0 -42
- awscli/examples/qldb/cancel-journal-kinesis-stream.rst +0 -15
- awscli/examples/qldb/create-ledger.rst +0 -43
- awscli/examples/qldb/delete-ledger.rst +0 -10
- awscli/examples/qldb/describe-journal-kinesis-stream.rst +0 -29
- awscli/examples/qldb/describe-journal-s3-export.rst +0 -30
- awscli/examples/qldb/describe-ledger.rst +0 -23
- awscli/examples/qldb/export-journal-to-s3.rst +0 -28
- awscli/examples/qldb/get-block.rst +0 -55
- awscli/examples/qldb/get-digest.rst +0 -17
- awscli/examples/qldb/get-revision.rst +0 -57
- awscli/examples/qldb/list-journal-kinesis-streams-for-ledger.rst +0 -30
- awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst +0 -31
- awscli/examples/qldb/list-journal-s3-exports.rst +0 -46
- awscli/examples/qldb/list-ledgers.rst +0 -24
- awscli/examples/qldb/list-tags-for-resource.rst +0 -17
- awscli/examples/qldb/stream-journal-to-kinesis.rst +0 -46
- awscli/examples/qldb/tag-resource.rst +0 -11
- awscli/examples/qldb/untag-resource.rst +0 -11
- awscli/examples/qldb/update-ledger-permissions-mode.rst +0 -34
- awscli/examples/qldb/update-ledger.rst +0 -63
- awscli/examples/robomaker/batch-describe-simulation-job.rst +0 -150
- awscli/examples/robomaker/cancel-simulation-job.rst +0 -6
- awscli/examples/robomaker/create-deployment-job.rst +0 -37
- awscli/examples/robomaker/create-fleet.rst +0 -18
- awscli/examples/robomaker/create-robot-application-version.rst +0 -31
- awscli/examples/robomaker/create-robot-application.rst +0 -29
- awscli/examples/robomaker/create-robot.rst +0 -20
- awscli/examples/robomaker/create-simulation-application-version.rst +0 -39
- awscli/examples/robomaker/create-simulation-application.rst +0 -38
- awscli/examples/robomaker/create-simulation-job.rst +0 -43
- awscli/examples/robomaker/delete-fleet.rst +0 -7
- awscli/examples/robomaker/delete-robot-application.rst +0 -7
- awscli/examples/robomaker/delete-robot.rst +0 -7
- awscli/examples/robomaker/delete-simulation-application.rst +0 -7
- awscli/examples/robomaker/deregister-robot.rst +0 -14
- awscli/examples/robomaker/describe-deployment-job.rst +0 -38
- awscli/examples/robomaker/describe-fleet.rst +0 -28
- awscli/examples/robomaker/describe-robot-application.rst +0 -29
- awscli/examples/robomaker/describe-robot.rst +0 -21
- awscli/examples/robomaker/describe-simulation-application.rst +0 -37
- awscli/examples/robomaker/describe-simulation-job.rst +0 -45
- awscli/examples/robomaker/list-deployment-jobs.rst +0 -57
- awscli/examples/robomaker/list-fleets.rst +0 -22
- awscli/examples/robomaker/list-robot-applications.rst +0 -32
- awscli/examples/robomaker/list-robots.rst +0 -45
- awscli/examples/robomaker/list-simulation-applications.rst +0 -50
- awscli/examples/robomaker/list-simulation-jobs.rst +0 -80
- awscli/examples/robomaker/list-tags-for-resource.rst +0 -16
- awscli/examples/robomaker/register-robot.rst +0 -14
- awscli/examples/robomaker/restart-simulation-job.rst +0 -7
- awscli/examples/robomaker/sync-deployment-job.rst +0 -30
- awscli/examples/robomaker/tag-resource.rst +0 -7
- awscli/examples/robomaker/untag-resource.rst +0 -7
- awscli/examples/robomaker/update-robot-application.rst +0 -28
- awscli/examples/robomaker/update-simulation-application.rst +0 -36
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws.cmd +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_bash_completer +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_completer +0 -0
- {awscli-1.42.7.data → awscli-1.44.26.data}/scripts/aws_zsh_completer.sh +0 -0
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/LICENSE.txt +0 -0
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/WHEEL +0 -0
- {awscli-1.42.7.dist-info → awscli-1.44.26.dist-info}/top_level.txt +0 -0
|
@@ -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
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
**To create a server**
|
|
2
|
-
|
|
3
|
-
The following ``create-server`` example creates a new Chef Automate server named ``automate-06`` in your default region. Note that defaults are used for most other settings, such as number of backups to retain, and maintenance and backup start times. Before you run a ``create-server`` command, complete prerequisites in `Getting Started with AWS OpsWorks for Chef Automate <https://docs.aws.amazon.com/opsworks/latest/userguide/gettingstarted-opscm.html>`__ in the *AWS Opsworks for Chef Automate User Guide*. ::
|
|
4
|
-
|
|
5
|
-
aws opsworks-cm create-server \
|
|
6
|
-
--engine "Chef" \
|
|
7
|
-
--engine-model "Single" \
|
|
8
|
-
--engine-version "12" \
|
|
9
|
-
--server-name "automate-06" \
|
|
10
|
-
--instance-profile-arn "arn:aws:iam::1019881987024:instance-profile/aws-opsworks-cm-ec2-role" \
|
|
11
|
-
--instance-type "t2.medium" \
|
|
12
|
-
--key-pair "amazon-test" \
|
|
13
|
-
--service-role-arn "arn:aws:iam::044726508045:role/aws-opsworks-cm-service-role"
|
|
14
|
-
|
|
15
|
-
The output shows you information similar to the following about the new server::
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
"Server": {
|
|
19
|
-
"BackupRetentionCount": 10,
|
|
20
|
-
"CreatedAt": 2016-07-29T13:38:47.520Z,
|
|
21
|
-
"DisableAutomatedBackup": FALSE,
|
|
22
|
-
"Endpoint": "https://opsworks-cm.us-east-1.amazonaws.com",
|
|
23
|
-
"Engine": "Chef",
|
|
24
|
-
"EngineAttributes": [
|
|
25
|
-
{
|
|
26
|
-
"Name": "CHEF_DELIVERY_ADMIN_PASSWORD",
|
|
27
|
-
"Value": "1Password1"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"EngineModel": "Single",
|
|
31
|
-
"EngineVersion": "12",
|
|
32
|
-
"InstanceProfileArn": "arn:aws:iam::1019881987024:instance-profile/aws-opsworks-cm-ec2-role",
|
|
33
|
-
"InstanceType": "t2.medium",
|
|
34
|
-
"KeyPair": "amazon-test",
|
|
35
|
-
"MaintenanceStatus": "",
|
|
36
|
-
"PreferredBackupWindow": "Sun:02:00",
|
|
37
|
-
"PreferredMaintenanceWindow": "00:00",
|
|
38
|
-
"SecurityGroupIds": [ "sg-1a24c270" ],
|
|
39
|
-
"ServerArn": "arn:aws:iam::1019881987024:instance/automate-06-1010V4UU2WRM2",
|
|
40
|
-
"ServerName": "automate-06",
|
|
41
|
-
"ServiceRoleArn": "arn:aws:iam::1019881987024:role/aws-opsworks-cm-service-role",
|
|
42
|
-
"Status": "CREATING",
|
|
43
|
-
"StatusReason": "",
|
|
44
|
-
"SubnetIds": [ "subnet-49436a18" ]
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
For more information, see `UpdateServer <https://docs.aws.amazon.com/opsworks-cm/latest/APIReference/API_UpdateServer.html>`_ in the *AWS OpsWorks for Chef Automate API Reference*.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
**To delete backups**
|
|
2
|
-
|
|
3
|
-
The following ``delete-backup`` command deletes a manual or automated backup of
|
|
4
|
-
a Chef Automate server, identified by the backup ID. This command is useful when
|
|
5
|
-
you are approaching the maximum number of backups that you can save, or you want
|
|
6
|
-
to minimize your Amazon S3 storage costs.::
|
|
7
|
-
|
|
8
|
-
aws opsworks-cm delete-backup --backup-id "automate-06-2016-11-19T23:42:40.240Z"
|
|
9
|
-
|
|
10
|
-
The output shows whether the backup deletion succeeded.
|
|
11
|
-
|
|
12
|
-
**More Information**
|
|
13
|
-
|
|
14
|
-
For more information, see `Back Up and Restore an AWS OpsWorks for Chef Automate Server`_ in the *AWS OpsWorks User Guide*.
|
|
15
|
-
|
|
16
|
-
.. _`Back Up and Restore an AWS OpsWorks for Chef Automate Server`: http://docs.aws.amazon.com/opsworks/latest/userguide/opscm-backup-restore.html
|
|
17
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
**To delete servers**
|
|
2
|
-
|
|
3
|
-
The following ``delete-server`` command deletes a Chef Automate server, identified
|
|
4
|
-
by the server's name. After the server is deleted, it is no longer returned by
|
|
5
|
-
``DescribeServer`` requests.::
|
|
6
|
-
|
|
7
|
-
aws opsworks-cm delete-server --server-name "automate-06"
|
|
8
|
-
|
|
9
|
-
The output shows whether the server deletion succeeded.
|
|
10
|
-
|
|
11
|
-
**More Information**
|
|
12
|
-
|
|
13
|
-
For more information, see `Delete an AWS OpsWorks for Chef Automate Server`_ in the *AWS OpsWorks User Guide*.
|
|
14
|
-
|
|
15
|
-
.. _`Delete an AWS OpsWorks for Chef Automate Server`: http://docs.aws.amazon.com/opsworks/latest/userguide/opscm-delete-server.html
|
|
16
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
**To describe account attributes**
|
|
2
|
-
|
|
3
|
-
The following ``describe-account-attributes`` command returns information about your
|
|
4
|
-
account's usage of AWS OpsWorks for Chef Automate resources.::
|
|
5
|
-
|
|
6
|
-
aws opsworks-cm describe-account-attributes
|
|
7
|
-
|
|
8
|
-
The output for each account attribute entry returned by the command resembles the following.
|
|
9
|
-
*Output*::
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
"Attributes": [
|
|
13
|
-
{
|
|
14
|
-
"Maximum": 5,
|
|
15
|
-
"Name": "ServerLimit",
|
|
16
|
-
"Used": 2
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
**More Information**
|
|
22
|
-
|
|
23
|
-
For more information, see `DescribeAccountAttributes`_ in the *AWS OpsWorks for Chef Automate API Reference*.
|
|
24
|
-
|
|
25
|
-
.. _`DescribeAccountAttributes`: http://docs.aws.amazon.com/opsworks-cm/latest/APIReference/API_DescribeAccountAttributes.html
|
|
26
|
-
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
**To describe backups**
|
|
2
|
-
|
|
3
|
-
The following ``describe-backups`` command returns information about all backups
|
|
4
|
-
associated with your account in your default region. ::
|
|
5
|
-
|
|
6
|
-
aws opsworks-cm describe-backups
|
|
7
|
-
|
|
8
|
-
The output for each backup entry returned by the command resembles the following.
|
|
9
|
-
|
|
10
|
-
Output::
|
|
11
|
-
|
|
12
|
-
{
|
|
13
|
-
"Backups": [
|
|
14
|
-
{
|
|
15
|
-
"BackupArn": "string",
|
|
16
|
-
"BackupId": "automate-06-20160729133847520",
|
|
17
|
-
"BackupType": "MANUAL",
|
|
18
|
-
"CreatedAt": 2016-07-29T13:38:47.520Z,
|
|
19
|
-
"Description": "state of my infrastructure at launch",
|
|
20
|
-
"Engine": "Chef",
|
|
21
|
-
"EngineModel": "Single",
|
|
22
|
-
"EngineVersion": "12",
|
|
23
|
-
"InstanceProfileArn": "arn:aws:iam::1019881987024:instance-profile/automate-06-1010V4UU2WRM2",
|
|
24
|
-
"InstanceType": "m4.large",
|
|
25
|
-
"KeyPair": "",
|
|
26
|
-
"PreferredBackupWindow": "",
|
|
27
|
-
"PreferredMaintenanceWindow": "",
|
|
28
|
-
"S3LogUrl": "https://s3.amazonaws.com/<bucket-name>/automate-06-20160729133847520",
|
|
29
|
-
"SecurityGroupIds": [ "sg-1a24c270" ],
|
|
30
|
-
"ServerName": "automate-06",
|
|
31
|
-
"ServiceRoleArn": "arn:aws:iam::1019881987024:role/aws-opsworks-cm-service-role.1114810729735",
|
|
32
|
-
"Status": "Successful",
|
|
33
|
-
"StatusDescription": "",
|
|
34
|
-
"SubnetIds": [ "subnet-49436a18" ],
|
|
35
|
-
"ToolsVersion": "string",
|
|
36
|
-
"UserArn": "arn:aws:iam::1019881987024:user/opsworks-user"
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
For more information, see `Back Up and Restore an AWS OpsWorks for Chef Automate Server`_ in the *AWS OpsWorks User Guide*.
|
|
42
|
-
|
|
43
|
-
.. _`Back Up and Restore an AWS OpsWorks for Chef Automate Server`: http://docs.aws.amazon.com/opsworks/latest/userguide/opscm-backup-restore.html
|
|
44
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
**To describe events**
|
|
2
|
-
|
|
3
|
-
The following ``describe-events`` example returns information about all events that are associated with the specified Chef Automate server. ::
|
|
4
|
-
|
|
5
|
-
aws opsworks-cm describe-events \
|
|
6
|
-
--server-name 'automate-06'
|
|
7
|
-
|
|
8
|
-
The output for each event entry returned by the command resembles the following example::
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
"ServerEvents": [
|
|
12
|
-
{
|
|
13
|
-
"CreatedAt": 2016-07-29T13:38:47.520Z,
|
|
14
|
-
"LogUrl": "https://s3.amazonaws.com/<bucket-name>/automate-06-20160729133847520",
|
|
15
|
-
"Message": "Updates successfully installed.",
|
|
16
|
-
"ServerName": "automate-06"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
For more information, see `General Troubleshooting Tips <https://docs.aws.amazon.com/opsworks/latest/userguide/troubleshoot-opscm.html#d0e4561>`_ in the *AWS OpsWorks User Guide*.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
**To describe node association status**
|
|
2
|
-
|
|
3
|
-
The following ``describe-node-association-status`` command returns the status of a
|
|
4
|
-
request to associate a node with a Chef Automate server named ``automate-06``.::
|
|
5
|
-
|
|
6
|
-
aws opsworks-cm describe-node-association-status --server-name "automate-06" --node-association-status-token "AflJKl+/GoKLZJBdDQEx0O65CDi57blQe9nKM8joSok0pQ9xr8DqApBN9/1O6sLdSvlfDEKkEx+eoCHvjoWHaOs="
|
|
7
|
-
|
|
8
|
-
The output for each account attribute entry returned by the command resembles the following.
|
|
9
|
-
*Output*::
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
"NodeAssociationStatus": "IN_PROGRESS"
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
**More Information**
|
|
16
|
-
|
|
17
|
-
For more information, see `DescribeNodeAssociationStatus`_ in the *AWS OpsWorks for Chef Automate API Reference*.
|
|
18
|
-
|
|
19
|
-
.. _`DescribeNodeAssociationStatus`: http://docs.aws.amazon.com/opsworks-cm/latest/APIReference/API_DescribeNodeAssociationStatus.html
|
|
20
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
**To describe servers**
|
|
2
|
-
|
|
3
|
-
The following ``describe-servers`` command returns information about all servers
|
|
4
|
-
that are associated with your account, and in your default region.::
|
|
5
|
-
|
|
6
|
-
aws opsworks-cm describe-servers
|
|
7
|
-
|
|
8
|
-
The output for each server entry returned by the command resembles the following.
|
|
9
|
-
*Output*::
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
"Servers": [
|
|
13
|
-
{
|
|
14
|
-
"BackupRetentionCount": 8,
|
|
15
|
-
"CreatedAt": 2016-07-29T13:38:47.520Z,
|
|
16
|
-
"DisableAutomatedBackup": FALSE,
|
|
17
|
-
"Endpoint": "https://opsworks-cm.us-east-1.amazonaws.com",
|
|
18
|
-
"Engine": "Chef",
|
|
19
|
-
"EngineAttributes": [
|
|
20
|
-
{
|
|
21
|
-
"Name": "CHEF_DELIVERY_ADMIN_PASSWORD",
|
|
22
|
-
"Value": "1Password1"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"EngineModel": "Single",
|
|
26
|
-
"EngineVersion": "12",
|
|
27
|
-
"InstanceProfileArn": "arn:aws:iam::1019881987024:instance-profile/automate-06-1010V4UU2WRM2",
|
|
28
|
-
"InstanceType": "m4.large",
|
|
29
|
-
"KeyPair": "",
|
|
30
|
-
"MaintenanceStatus": "SUCCESS",
|
|
31
|
-
"PreferredBackupWindow": "03:00",
|
|
32
|
-
"PreferredMaintenanceWindow": "Mon:09:00",
|
|
33
|
-
"SecurityGroupIds": [ "sg-1a24c270" ],
|
|
34
|
-
"ServerArn": "arn:aws:iam::1019881987024:instance/automate-06-1010V4UU2WRM2",
|
|
35
|
-
"ServerName": "automate-06",
|
|
36
|
-
"ServiceRoleArn": "arn:aws:iam::1019881987024:role/aws-opsworks-cm-service-role.1114810729735",
|
|
37
|
-
"Status": "HEALTHY",
|
|
38
|
-
"StatusReason": "",
|
|
39
|
-
"SubnetIds": [ "subnet-49436a18" ]
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
**More Information**
|
|
45
|
-
|
|
46
|
-
For more information, see `DescribeServers`_ in the *AWS OpsWorks for Chef Automate API Guide*.
|
|
47
|
-
|
|
48
|
-
.. _`DescribeServers`: http://docs.aws.amazon.com/opsworks-cm/latest/APIReference/API_DescribeServers.html
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
**To disassociate nodes**
|
|
2
|
-
|
|
3
|
-
The following ``disassociate-node`` command disassociates a node named ``i-44de882p``, removing the node from
|
|
4
|
-
management by a Chef Automate server named ``automate-06``. Valid node names are EC2 instance IDs.::
|
|
5
|
-
|
|
6
|
-
aws opsworks-cm disassociate-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'"
|
|
7
|
-
|
|
8
|
-
The output returned by the command resembles the following.
|
|
9
|
-
*Output*::
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
"NodeAssociationStatusToken": "AHUY8wFe4pdXtZC5DiJa5SOLp5o14DH//rHRqHDWXxwVoNBxcEy4V7R0NOFymh7E/1HumOBPsemPQFE6dcGaiFk"
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
**More Information**
|
|
16
|
-
|
|
17
|
-
For more information, see `Delete an AWS OpsWorks for Chef Automate Server`_ in the *AWS OpsWorks User Guide*.
|
|
18
|
-
|
|
19
|
-
.. _`Delete an AWS OpsWorks for Chef Automate Server`: http://docs.aws.amazon.com/opsworks/latest/userguide/opscm-delete-server.html
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
**To restore a server**
|
|
2
|
-
|
|
3
|
-
The following ``restore-server`` command performs an in-place restoration of a
|
|
4
|
-
Chef Automate server named ``automate-06`` in your default region from a backup
|
|
5
|
-
with an ID of ``automate-06-2016-11-22T16:13:27.998Z``. Restoring a server restores
|
|
6
|
-
connections to the nodes that the Chef Automate server was managing at the time
|
|
7
|
-
that the specified backup was performed.
|
|
8
|
-
|
|
9
|
-
aws opsworks-cm restore-server --backup-id "automate-06-2016-11-22T16:13:27.998Z" --server-name "automate-06"
|
|
10
|
-
|
|
11
|
-
The output is the command ID only.
|
|
12
|
-
*Output*::
|
|
13
|
-
|
|
14
|
-
(None)
|
|
15
|
-
|
|
16
|
-
**More Information**
|
|
17
|
-
|
|
18
|
-
For more information, see `Restore a Failed AWS OpsWorks for Chef Automate Server`_ in the *AWS OpsWorks User Guide*.
|
|
19
|
-
|
|
20
|
-
.. _`Restore a Failed AWS OpsWorks for Chef Automate Server`: http://docs.aws.amazon.com/opsworks/latest/userguide/opscm-chef-restore.html
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
**To start maintenance**
|
|
2
|
-
|
|
3
|
-
The following ``start-maintenance`` example manually starts maintenance on the specified Chef Automate or Puppet Enterprise server in your default region. This command is useful if an earlier, automated maintenance attempt failed, and the underlying cause of maintenance failure has been resolved. ::
|
|
4
|
-
|
|
5
|
-
aws opsworks-cm start-maintenance \
|
|
6
|
-
--server-name 'automate-06'
|
|
7
|
-
|
|
8
|
-
Output::
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
"Server": {
|
|
12
|
-
"AssociatePublicIpAddress": true,
|
|
13
|
-
"BackupRetentionCount": 10,
|
|
14
|
-
"ServerName": "automate-06",
|
|
15
|
-
"CreatedAt": 1569229584.842,
|
|
16
|
-
"CloudFormationStackArn": "arn:aws:cloudformation:us-west-2:123456789012:stack/aws-opsworks-cm-instance-automate-06-1606611794746/EXAMPLE0-31de-11eb-bdb0-0a5b0a1353b8",
|
|
17
|
-
"DisableAutomatedBackup": false,
|
|
18
|
-
"Endpoint": "automate-06-EXAMPLEvr8gjfk5f.us-west-2.opsworks-cm.io",
|
|
19
|
-
"Engine": "ChefAutomate",
|
|
20
|
-
"EngineModel": "Single",
|
|
21
|
-
"EngineAttributes": [],
|
|
22
|
-
"EngineVersion": "2020-07",
|
|
23
|
-
"InstanceProfileArn": "arn:aws:iam::123456789012:instance-profile/aws-opsworks-cm-ec2-role",
|
|
24
|
-
"InstanceType": "m5.large",
|
|
25
|
-
"PreferredMaintenanceWindow": "Sun:01:00",
|
|
26
|
-
"PreferredBackupWindow": "Sun:15:00",
|
|
27
|
-
"SecurityGroupIds": [
|
|
28
|
-
"sg-EXAMPLE"
|
|
29
|
-
],
|
|
30
|
-
"ServiceRoleArn": "arn:aws:iam::123456789012:role/service-role/aws-opsworks-cm-service-role",
|
|
31
|
-
"Status": "UNDER_MAINTENANCE",
|
|
32
|
-
"SubnetIds": [
|
|
33
|
-
"subnet-EXAMPLE"
|
|
34
|
-
],
|
|
35
|
-
"ServerArn": "arn:aws:opsworks-cm:us-west-2:123456789012:server/automate-06/0148382d-66b0-4196-8274-d1a2b6dff8d1"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
For more information, see `System Maintenance (Puppet Enterprise servers) <https://docs.aws.amazon.com/opsworks/latest/userguide/opspup-maintenance.html>`_ or `System Maintenance (Chef Automate servers) <https://docs.aws.amazon.com/opsworks/latest/userguide/opscm-maintenance.html>`_ in the *AWS OpsWorks User Guide*.
|