BlindSniper
BlindSniper

Reputation: 1871

AWS equivalent for Azure Resourcegroup

Azure Resource group is one thing which ties one complete stack together, so in case you want to know what your complete stack looks like just open up your RG and all resources are there(not talking about very big stacks ). Do we have any service in AWS like this ??

Upvotes: 16

Views: 18611

Answers (4)

Coffee and Code
Coffee and Code

Reputation: 1033

I've been playing in Azure for a while with Kubernetes (AKS) and Terraform. I was used to deploying an Azure resource group and everything in it:

  • Key vault
  • storage account
  • DataBricks
  • Data Factory
  • SQL Server (or some other database)

Simple enough. So, I just tried to deploy a similar data stack in AWS. It's not at all the same, and a lot more effort.

  1. The VPC seems is the first place to start. You'll also have to think about CIDR addresses too.
  2. Subnets (you'll be defining CIDR blocks here too), and deciding availability zones come next.
  3. You'll also need security groups.

You'll also need IAM resources and to attach the relevant roles/policies. In Azure, once permissions and Service Principals are in place, you don't have to worry about all these things.

All this is before you've deployed anything.

Now, that's my immediate feeling trying to replicate what I was doing on Azure. I didn't let how long it takes to deploy these resources on AWS (like 30 mins in the EU region - YMMV - but much longer compared to Azure) cloud my judgement either...🙄

A Cloudformation 'stack' was created when I tested using the AWS EKSCLI command line tool to provision a kubernetes cluster and nodes. Deleting a stack on Cloudformation will remove all the associated resources, like if you were to remove a resource group on Azure.

I think, using Terraform is probably a good idea, which is the conclusion you may arrive at after having to chase down why you can't delete a certain resource, because something is still using it (and it's not all in the same place as other things like in an Azure resource group.

Upvotes: 4

Lionel Orellana
Lionel Orellana

Reputation: 490

An AWS Cloudformation template creates a "Stack" with all the resources defined in the template. In the AWS console what you see under the Cloudformation service are these stacks. They seem to me to be very much like an Azure Resource Group. The life cycle of the resources in the template are managed by the stack. If you delete the stack all the resources are deleted; very much like an Azure Resource Group.

Upvotes: 6

Jeevagan
Jeevagan

Reputation: 476

AWS also has Resource Groups. It's not identical to Azure resource groups. But it will work for your need. You need to use tags for the resources and then group them using AWS Resource Groups. Tags are very powerful and widely used in AWS.

Upvotes: 14

titogeo
titogeo

Reputation: 2184

As mentioned in comments you can group together AWS resources using resource groups. If you are looking for more than mere grouping then there is AWS OpsWorks Stacks. AWS OpsWorks Stacks is nothing but chef under the hood. Here you can get the full view of associated resources and you can manage as well.

Upvotes: 2

Related Questions