Luckily, there is a workaround: custom resources. Usually features are added to CloudFormation within a few weeks, but I've seen situations where it takes months until a new feature is added to CloudFormation. Unfortunately, this is one of the bigger caveats for working with CloudFormation. You will get into situations where you wish to use a feature for an AWS resource and find that this feature is not yet supported in CloudFormation. What you need to know about CloudFormation Create a pipeline for custom resources I'll discuss some tips and tricks and other things I wish I knew when I started with CloudFormation. I believe in the concept of Infrastructure as Code in general, and CloudFormation certainly has done the job for us.Īs any other technology, CloudFormation isn't perfect and there are some things you can do to make your life easier. It's a technology I would definitely recommend anyone to use. I've therefore touched a lot of CloudFormation in the last two years. All these stacks are deployed in three different accounts (testing, acceptance and production), with CloudFormation giving us the confidence that all these accounts are almost exactly the same (with minor exceptions such as that we run less resources in testing and acceptance to reduce costs). We currently have close to 300 stacks provisioned, describing the foundational networking and over a hundred different applications. We now work with a number of different VPCs and many different AWS services. The entire AWS environment I work with is provisioned through CloudFormation - we only have read-only access to our AWS accounts. With CloudFormation you can describe and provision your entire AWS infrastructure in code. It's been close to two years since I started working with AWS CloudFormation, the Infrastructure as Code solution by and for AWS. Moving and renaming your resources isn't all too great….Use comments and where possible, descriptions.Use exported values and Parameter Store for re-using configuration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |