Managed Service using Cloud Formation

17 Mar 2022
17 Mar 2022

Nowadays, as a system integrator and an agency Xtremax leverage the traditonal architecture into the cloud ecosystem. It's including the how we manage the current project and upcoming project to build an ecosystem on AWS. There are many AWS features can be used to help the migration and operation process running smoothly. One of them is AWS Cloud Formation.  

On the managed service itself, we want to minimize the manual touch on every system to minimize the error caused by the human. In this case, Xtremax use Cloud Formation to execute customer request related to updating the resources on AWS. 

 Cloud Formation 


How we do it 

In order for AWS Cloud Formation to work as shown on the picture above, it is important to create a stack. AWS CloudFormation is effective when resources are provisioned and configured for various use cases. For example, EC2 instances created using CloudFormation require permissions. Similarly, there is a requirement for permissions that limit the creation of instances once a stack is deleted. 

Therefore, there is a requirement to use AWS Identity and Access Management (IAM) to monitor, control and manage permissions. Hence, it is important to create a template that automates the authority and function of CloudFormation. 


Creating Code Infrastructure 

We create Infrastructure from the beginning using code by using JSON format.  All of the code will be created by our DevOps engineer following the customer request on particular resources. The Devops usually use their predefined template to make it lot easier then to write from scratch.  

Save code into AWS S3 

The code then will be uploaded to the S3 bucket, so other DevOps engineer can also access the code when they needed.  

AWS CloudFormation 

At first, to create Cloud Formation stack Devops will describing the exact location of the template, in this case it uses S3 location. So, they will put the AWS S3 URL as the location of the template. 

Secondly, they determine any parameters in the template and specify input values. It will helps them while creating the stack.  

Thirdly and most importantly, enable parameters to help pass in values. It allows devops to easily customize resources while creating the stack. 

Output of the Process 

CloudFormation allocates and configures resources by approaching AWS. The use cases and functions of the AWS CloudFormation are mentioned in the template. Moreover, these use cases and functions arrange the stacks and resources for the template to help operate AWS CloudFormation. 

 CloudFormation on CWP 

On CWP, the Devops use CloudFormation stack to provision and update customer resources, such as Lambda Node, RDS, EC2 instances, Network Virtual appliance, and many more. Since the DevOps use CloudFormation during the maintenance, they can save enough time to do another task. From the business perspective, it can reduce the estimated waiting time for customers to get their requests finished and increase customer satisfaction. 

Get started on your AWS journey with us today. 

Contact Us