getInstanceDescription | R Documentation |
This function checks to make sure a launched instance is 'running' then
returns an instance description used by the other functions in this package.
You won't normally need to call this function directly, but it is useful if
you want to launch instances yourself using the Web console, AWS CLI, or paws
SDK instead of using launchInstance
.
getInstanceDescription(instanceId, throttle = 1, username = "ec2-user")
instanceId |
The InstanceID returned or displayed through whatever mechanism used to launch the EC2 instance |
throttle |
The amount of time to wait (in seconds) before repeating requests to the AWS API. The account-wide limit is 10,000 r/s, so this default is extremely conservative. |
username |
The administrator username to use when logging in over ssh. The user must have sudo privileges. Default is set for Amazon Linux AMIs. |
Note: this function only tests that the instance is running, it does not verify that an ssh connection is corretly setup and available. You may have to wait awhile after starting your instance with external tools before you can use the other functions in this package.
An instance
object used by the other functions in this package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.