For better security we recommend IAM accounts are secured using an MFA device.
You will need to use a hardware device or install a software application such as Google Authenticator on your smartphone.
Due to an AWS security limitation IAM roles cannot assume other IAM roles without MFA enabled. Therefore you must enable MFA if you are using an application such as AWS Vault.
For more information on MFA, please refer to the AWS product page: https://aws.amazon.com/iam/details/mfa/.
As MageCloudKit launches resources inside an Amazon VPC, you must use a Bastion host to securely access resources. By default, MageCloudKit launches a single Bastion instance with an Amazon Elastic IP address. You can then use this host to 'jump' to further instances.
First, discover the public IP address of the Bastion instance:
$ aws ec2 describe-instances --filters "Name=tag:Name,Values=bastion*" --query 'Reservations.Instances.[PublicDnsName, PublicIpAddress]' --output table
Then connect to it with SSH key forwarding enabled:
You can then 'jump' to further instances. Keep in mind as the App Servers are based on the Amazon ECS Optimized AMI, you must use the
We recommend installing the OpenVPN software on the Bastion instance, however MageCloudKit does not include built-in support for this.