AWS CDK example in Typescript – provision an AWX server

This post provides an example of using AWS CDK in Typescript. Ansible Tower and AWX We have used open-source Ansible extensively in the past. While the automation is convenient, the lack of UI makes it not as suitable as a team collaboration tool. One way to allow team collaboration with open-source Ansible, is to use … Read moreAWS CDK example in Typescript – provision an AWX server

SSH key pair for access between instances in CloudFormation

We use CloudFormation to deploy infrastructure including private and public subnets, as well as EC2 instances. It is a good practice to place as many instances as possible in private subnet and access those only from Bastion Host in the public subnet. For smaller systems it is even common to use the NAT instance as … Read moreSSH key pair for access between instances in CloudFormation

Coordination between resources in AWS CloudFormation

One of the reasons I prefer CloudFormation over Terraform is access to Helper scripts. Many legacy applications are not built with statelessness and the installation depends on host information of other layers in the stack. This requires communication among instances during stack creation. The cloudformation Helper script (cfn-init, cfn-signal, cfn-hup and cfn-getmetadata) plays a key … Read moreCoordination between resources in AWS CloudFormation