capabilities.work

Launch a Secured Instance

A 4-step recipe with Amazon EC2. We can help you get access.

Recipe · 4 steps

Launch a Secured Instance

with Amazon EC2 · Cybersecurity Management

Stand up a security group, key pair, and a launched EC2 instance in one flow.

  1. Create a security group to act as the virtual firewall for the instance.
  2. Authorize inbound SSH (TCP 22) on the new security group.
  3. Create an SSH key pair to use for instance access.
  4. Launch a single instance bound to the new security group and key pair.
What you'll need to have ready
  • groupName: The name for the new security group.
  • groupDescription: A description for the new security group.
  • vpcId: Optional VPC ID to create the security group in.
  • sshCidr: The IPv4 CIDR range allowed to reach SSH (e.g. 203.0.113.0/24).
  • keyName: A unique name for the SSH key pair.
  • imageId: The AMI ID to launch the instance from.
  • instanceType: The EC2 instance type (e.g. t3.micro).
For your developer

Arazzo workflow amazon-ec2:launch-secured-instance, 4 operations: CreateSecurityGroup → AuthorizeSecurityGroupIngress → CreateKeyPair → RunInstances. Specs on APIs.io.