While implementing cloud Infrastructure as Code you might have come across the problem of dealing with third-party resources. This is most common in complex environments where most of the resources live in a cloud provider (GCP or AWS for example) and there are some SaaS solutions to integrate with (Datadog and Pingdom for example). In this talk we will expose the problem and explain a solution that is currently being used by one of our key clients in Spain.
15. THE PROBLEM
Multiple third-party (SaaS) solutions to configure
15
Does that even count as
infrastructure?
Setup via the GUI
Running on CIs and manually
Setup via ad hoc scripts
37. THE SOLUTION
37
CloudFormation Custom Resource
Manipulates the
third-party resource
Testable code!
Reusable entrypoint,
if needed
Easily enhanceable,
custom DSLs
38. THE SOLUTION
38
CloudFormation Custom Resource
Manipulates the
third-party resource
Testable code!
State is managed by
CloudFormation
Reusable entrypoint,
if needed
Easily enhanceable,
custom DSLs
39. THE SOLUTION
39
CloudFormation Custom Resource
Manipulates the
third-party resource
Testable code!
State is managed by
CloudFormation
Third-Party resources are defined
together with the other resources
Reusable entrypoint,
if needed
Easily enhanceable,
custom DSLs