You are now ready to deploy your changes and verify that ECS task networking is working correctly. If you run the aws cloudformation deploy command, the following should happen:
- A new revision of the application task definition will be created, which is configured for ECS task networking.
- The ECS service configuration will detect the changes and attempt to deploy the new revision, along with the ECS service configuration changes. ECS will dynamically attach a new ENI to the private subnet and allocate this ENI to a new ECS task for the ApplicationService resource.
Once deployment is complete, you should verify your application is still working and once you have done this, you can browse to the ECS console, click on your ECS service, and select the current task running for the service.
The following screenshot shows...