Похожие чаты

I am trying to deploy a nodejs application to EC2

with ASG and ELB and aws-cdk.
How do I customise the image used in instance created by ASG?
I _believe_ I have to create a custom AMI that is built from a generic linux image with my modifications applied and then use the ID of this custom AMI in ASG configuration but I can't find any information on how to do this or if this is the right way to do this

16 ответов

6 просмотров

To create the AMIs, bake them using packer from hashicorp

EC2 Image builder? Might be an option.

Raptor Blue Bear
Janky yaml

Hes only building 1 image.. if it works it would be simple

Use ElasticBeanstalk nodejs or Docker. You automatically get autoscaling and load balancer. And can define the instance type

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/single-container-docker.html

Ishan-Jain Автор вопроса
Sharuzzaman Ahmat Raslan
https://docs.aws.amazon.com/elasticbeanstalk/lates...

Hey, Thank you sooo much for responding. In the end, We decided to use ECS on EC2 with aws-cdk. Other than few issues that I encountered since I was working with it for the first time, It wasn't super complicated and works out pretty well for us.

Ishan Jain
Hey, Thank you sooo much for responding. In the en...

there's CDK Day coming up if you're interested https://www.cdkday.com/

Ishan-Jain Автор вопроса
Sathya Bhat
there's CDK Day coming up if you're interested ht...

Thanks I recently started using cdk and it's been pretty good so far. I'll check this out. :))

Ishan Jain
Thanks I recently started using cdk and it's been ...

Yea cdk is pretty good, been using that recently also, this is pretty interesting too: https://www.hashicorp.com/blog/cdk-for-terraform-enabling-python-and-typescript-support

Adz
Yea cdk is pretty good, been using that recently a...

That's interesting, should we see this as a response to Pulumi?

Juaco
That's interesting, should we see this as a respon...

Perhaps.. although i’m not sure matters too much, Terraform is pretty much the standard now, i rarely hear Pulumi actually being used.

Похожие вопросы

Обсуждают сегодня

Комрады, хотел уточнить. Проперть в OnDestroy юнита-хозяина по-прежнему доступна? И еще уточнение: finalization юнита наступает раньше или позже OnDestroy?
Ed Doc
39
Здравствуйте! Есть вопросы по ПК: 1.1. Безопасно ли запускать программы, которым я не доверяю, в виртуальной машине под KVM+qemu? (x86_64) 1.2. То же самое при использовании ...
Pavel
5
Проблема с Windows scripting control Множество объектов получают iDispatch обертки и отдаются в скрипты. При этом скрипты могут эти обертки держать живыми очень долго, наприм...
Arioch The
16
Hi everyone! I have a two-folded message to share today. First: updates and news, as we are being asked for those. We still want to go like we did the last 6 years: we w...
Marten | Unibright.io
31
мужчины добрый вечер,подскажите пожалуйста зеленому какую базу и матчасть нужно знать чтобы хотя бы на младшего сис.админа идти?
Duhi
16
Скажите, можно ли как-то "переместить" динамический массив из одной переменной в другую? Скажем, переместить из TList<> в TArray<>. Именно переместить, а не скопировать. Если ...
Eugene Krasnikov (ᴊɪɴ x)
37
Я тут пытаюсь переработать архитектуру подсистемы памяти ядра во что-то осмысленное. Есть pmm, который создает набор range’ей(пока что только для ядра, потом для юзерспейса), ...
Evg Resh
9
У меня вопрос, а какой уровень оптимизации ставить при сборке на i5 4 ядра 16G ddr3 ОЗУ и видюха Geforce GTX 970?
Sir Jiga
18
комрады, че-та лыжы не едут var tmpFont: TFont; begin tmpFont:= TFont.Create; try case rgFontColor.ItemIndex of 0: tmpFont.Color:= clWindowText; 1: tmpFo...
Ed Doc
34
Guys, what’s the most expensive part of your budget for your business/startup/app/website?
Ice Kream
18
Карта сайта