Are you a DevOps engineer or a back-end server developer, working with Amazon Web Services? Then why not check out the latest addition to Sony’s open source project on GitHub – Amazon Custom Resource GitHub project – see how it can help with simplifying server environments.
The Amazon Custom Resource GitHub project includes a number of AWS CloudFormation Custom Resources backed by Lambda functions. These Custom Resources extend AWS CloudFormation by allowing the use of names instead of IDs in templates. This simplifies the re-use of templates across Amazon accounts.
According to Anders Janmyr, a programmer on Sony’s Lifelog team and contributor for the Amazon Custom Resource GitHub project, this simplification can be very useful. He says, “CloudFormation stacks are great for setting up complete server environments, but there can be problems.” By using Custom Resources to extend the native functionality of CloudFormation, the below issues can be solved.
- Keeping all resources in one stack may not be possible, as some resources may be needed by multiple stacks – such as Amazon Kinesis.
- If your stack depends on external resources, you must maintain those resources separately and send them as parameters when creating new stacks.
- If you have multiple accounts or environments, you need to maintain one configuration for each.
* * *
If you are interested in making contributions to the Amazon Custom Resource project, or any other SonyXperiaDev project, head over to our SonyXperiaDev GitHub. Familiarise yourself with the code, and feel free to fork and improve the code, then contribute your work back to our repositories.