AWS EC2 Instance Connect
This is the Amazon EC2 Instance Connect API Reference . It provides descriptions, syntax, and usage examples for each of the actions for Amazon EC2 Instance…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
This is the Amazon EC2 Instance Connect API Reference . It
provides descriptions, syntax, and usage examples for each of the actions for Amazon EC2
Instance Connect. Amazon EC2 Instance Connect enables system administrators to publish
one-time use SSH public keys to EC2, providing users a simple and secure way to connect
to their instances.
To view the Amazon EC2 Instance Connect content in the Amazon EC2 User
Guide , see Connect to
your Linux instance using EC2 Instance Connect .
For Amazon EC2 APIs, see the Amazon EC2 API
Reference .
Endpoints 2
- POSTSend sSH public key
/#X-Amz-Target=AWSEC2InstanceConnectService.SendSSHPublicKeyPushes an SSH public key to the specified EC2 instance for use by the specified user. The key remains for 60 seconds. For more information, see Connect to… - POSTSend serial console sSH public key
/#X-Amz-Target=AWSEC2InstanceConnectService.SendSerialConsoleSSHPublicKeyPushes an SSH public key to the specified EC2 instance. The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to…
API details
- Base URL
https://ec2-instance-connect.{region}.amazonaws.com- Authentication
- AWS Signature Version 4 (requests signed with your AWS access key)
- Operations
- 2 operations on 2 pathsPOST 2
- Description format
- AWS Smithy model, API version
2018-04-02 - Links
- Documentation · OpenAPI document
- Listed from
- AWS Smithy API model (aws/api-models-aws) (Apache-2.0)
How to test the AWS EC2 Instance Connect in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the AWS EC2 Instance Connect collection, without the publisher's secrets.
- Add your credentialsThis API uses AWS Signature Version 4 (requests signed with your AWS access key). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Send sSH public key” (POST /#X-Amz-Target=AWSEC2InstanceConnectService.SendSSHPublicKey), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the AWS EC2 Instance Connect?
This is the Amazon EC2 Instance Connect API Reference . It provides descriptions, syntax, and usage examples for each of the actions for Amazon EC2 Instance… It is listed under Communication and has 2 endpoints.
Who publishes the AWS EC2 Instance Connect?
It is listed from Amazon Web Services, Inc.'s public API description (an OpenAPI document), not published by Amazon Web Services, Inc. on Swastik Codes. Anyone who controls amazonaws.com can claim the profile by adding a DNS TXT record.
What is the base URL of the AWS EC2 Instance Connect?
Requests go to https://ec2-instance-connect.{region}.amazonaws.com. Endpoint paths are added to this base URL.
How do I authenticate with the AWS EC2 Instance Connect?
With AWS Signature Version 4 (requests signed with your AWS access key).
How many endpoints does the AWS EC2 Instance Connect have?
2 operations on 2 paths (2 POST).
Is forking the AWS EC2 Instance Connect free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.