sparse-intern-71089
09/06/2023, 1:17 PMbillowy-army-68599
cold-nightfall-99450
09/06/2023, 2:02 PMbillowy-army-68599
billowy-army-68599
cold-nightfall-99450
09/06/2023, 2:05 PMbillowy-army-68599
cold-nightfall-99450
09/06/2023, 2:14 PMcold-nightfall-99450
09/06/2023, 2:15 PMbillowy-army-68599
cold-nightfall-99450
09/06/2023, 2:16 PMbillowy-army-68599
cold-nightfall-99450
09/06/2023, 2:18 PMfastapi_image = docker.Image("fastapi-dockerimage",
image_name=app_ecr_repo.repository_url.apply(lambda x: f"{x}:tag2"),
build=docker.DockerBuildArgs(
context="..",
dockerfile="../Dockerfile",
platform="linux/amd64"
),
skip_push=False,
registry=app_registry
)
billowy-army-68599
cold-nightfall-99450
09/06/2023, 3:17 PMbillowy-army-68599
cold-nightfall-99450
09/06/2023, 4:23 PMcold-nightfall-99450
09/06/2023, 7:51 PMec2
instance type to c6i.large
itself didn't trigger instance recreation. it affected autoscaling group
parameters, so when I terminated instance (that still remained t2.micro
), new one was created with type of c6i.large
and all changes were applied.
after that, each time I change code and run pulumi up
, all changes are reflected in tasks as expected without any manual fixes.
i.e. it was really a memory issue, even though my application was as tiny as possible, and one should check instance type when work with autoscale groups 🙃