Long running EC2s with Cloudformation and ServiceCatalog

0

My organisation runs with a number of fairly tight controls for how we can build our environments. One of these is that infrastructure must be deployed via the service catalog using products that have been validated before being published for use. This means we rely on Cloudformation to build the EC2 servers we use.

My use case for EC2 is as long running compute nodes within a cluster that store data. This requirement comes from the software in use. This means they are not sacrificial like a web server or app server might be.

As such using autoscaling groups for the EC2s is not ideal, as I don't want the EC2s being terminated unexpectedly as this can cause data loss, and also new nodes need to be configured into the cluster which would mean a loss of capacity.

What I'm looking for is suggestions on how to manage the EC2s using Cfn and ServiceCatalog without having to push new versions of the Service Catalog products when we want to make changes to the EC2s, such as volume sizes, or instance types. One option could be custom macros and various lambdas but this gets complex quickly.

Terraform works well for this but is not an option due to the restrictions I mention around service catalog.

TIA....

preguntada hace un año245 visualizaciones
1 Respuesta
0

Hello,

Service Catalog basically operates similar to Cloudformation. If you don't want to create new versions for every new changes, you can parameterize the attributes and just update the cloudformation stack with new values to update the EC2. An important point to keep in mind is that update to some properties can trigger resource replacement and you mentioned you don't want your EC2 to be replaced and If you are looking to update any value without replacement, it won't be possible for properties that require replacement natively.

If you need granular review of your environment for the use case , we require details that are non-public information. Therefore, kindly open a support case with AWS using the following https://console.aws.amazon.com/support/home#/case/create

AWS
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas