AWS game-changing feature of supporting YAML in Cloudformation is a blessing for people who would love to see things in a "proper" format with comments :). Also it reduces the number of lines when compared to JSON. Thanks to Graham for his basic tutorial on YAML and CloudFormation, borrowed much of his code and added ansible install. I haven't used cfn-init in the below snippet. Will try to enhance the code in future and make it more sophisticated. Please note: I have hard-coded values of my key-pair etc, feel free to remove them. Please do leave a comment if you are running into any issues. I have used RHEL image for this tutorial. AWSTemplateFormatVersion: "2010-09-09" Description: A sample template Parameters: FilePath: Description: The path of the file. Type: String Default: /home/ec2-user/userdata Resources: MyEC2Instance: Type: "AWS::EC2::Instance" # 1 Quotes are unnecessary here - will they always be? Pr
Very good info, This information will always help everyone for gaining important knowledge. So please always share your valuable and essential information. I am very thankful to you for providing good information. Thanks once again for sharing it. pls visit our website san antonio foundation repair
ReplyDeleteCloud-based solutions and managed services are transforming how businesses used to manage their IT infrastructure. More and more businesses are adapting to cloud-based solutions and/or MSP solutions. Thank you for sharing this. MSP Bootcamp
ReplyDeleteI found one successful example of this truth through this blog. I am going to use such information now. best antivirus 2021
ReplyDeleteNicely done, Thank you for sharing such a useful article. I had a great time. This article was fantastic to read. continue to write about
ReplyDeleteData Engineering Solutions
nice
ReplyDelete