Description Usage Arguments Value See Also Examples
Terminating an EC2 instance translates to shutting down and deleting it. That means, all data stored on that machine is gone. This does not affect a central database, given that the central database is located on a different machine. Note that AWS lists an instance after shutting it down for some 10-20 minutes longer. You won't be charged for such instances, though.
1 | aws_terminate_instance(aws_connection, instance_aws_uid)
|
aws_connection |
AWS connection object, as retrieved from |
instance_aws_uid |
Character string with the instance to be terminated. This has been put into the aws_connection$ec2_instances tibble. |
The updated AWS connection object.
connect_aws()
, aws_launch_instance()
1 2 3 4 5 6 | ## Not run:
aws_connection <- connect_aws()
aws_terminate_instance(aws_connection, 'i-0a1b2c3d4e5f6g7h8i9j')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.