A deployment describes the containers that run on the service: the image, the open ports and which container receives the traffic of the public domain. Each time you save a deployment, Lightsail creates a new version.

webnginx:stable-alpine. Without a registry name, Lightsail pulls the image from Docker Hub.80 and keep HTTP.
web. The port is 80 and the health check path is /. Lightsail sends the traffic of the public domain to this container and checks it on this path. Choose Save and deploy.

URL=$(aws lightsail get-container-services --region ap-southeast-1 \
--service-name fcj-container --query 'containerServices[0].url' --output text)
echo $URL
curl -s $URL | grep -E '<title>|<h1>'
