| by Arround The Web | No comments

How to Create Stack on AWS

AWS Stack is a unit created by collecting multiple related AWS resources, which means you can manage multiple resources by managing the AWS Stack using CloudFormation. Sometimes people want to host an application on AWS so they create virtual web servers, networking among these servers, databases, and many more resources. If you want to Manage all of these resources as a single unit, create an AWS Stack.

This post will provide a full-fledged procedure of how to create a stack on AWS.

Create Stack on AWS

In the Amazon Management Console, search stack and click on CloudFormation:

Click on Create stack button:

Select the template and click on next. In this post, let’s select Use a sample template:

Create stack wizard will open, provide a name for this stack, Database name, and Database password:

Provide other parameters for your stack such as Database user, and key pair, and click on Next:

Provide tags for resources in your stack:

Let the other option stays as default and click on Next:

Review the Stack and Click on Submit button:

It will consume some time to create a stack, wait until it’s progressing:

Once Stack will create successfully, its status will change to CREATE_COMPLETE:

You can explore different tabs available for configurations:

Delete Stack on AWS (Optional)

To delete the stack, go to the stack dashboard and select the stack you want to delete, and click on the Delete button:

To prompt will open, click on the Delete stack button:

A notification will appear that the deletion process is initiated, it will consume some time:

Once the process will complete, your stack will delete:

In the output above, you can see the stack is deleted.

Conclusion

To create a stack, go to CloudFormation and click on Create stack, then choose the template for the creation of a stack. Enter the required parameters and press the submit button. It will consume some time to create, and once it is created, explore and use different configurations of the AWS stack. Deleting the Stack is also an easy process.

Share Button

Source: linuxhint.com

Leave a Reply