1. Click Update service to update fcj-core-svc.

2. Check Force new deployment.

3. Scroll down to Service connect and configure:

4. Click Add port mappings and applications. Under Service Connect service - 1, configure:
core-httpcore8080This configuration allows the admin application to make requests to the core application using the URI http://core:8080, which corresponds to the specified DNS and Port.

5. Scroll to the bottom and click Update.

1. Click Create new task definition.

2. Configure the basic settings:
fcj-admin-fargate-td
3. Set the resource allocation:

4. For Task execution role, select fcjEcsTaskExecutionRole.

5. Open a new browser tab and navigate to Amazon ECR. Copy the admin image URI.

6. Return to the task definition tab. In the Container details section, configure:
admin
7. Configure the container networking:
80admin-http
8. Click Add environment variable.

9. Configure the environment variable:
REACT_BASE_URLhttp://core:8080/api/
10. Review your configuration and click Create.

1. Click Create to create a new service.

2. Configure the task definition and service:
fcj-admin-svc
3. Configure compute options:

4. For Desired tasks, enter 1.

5. Configure networking:

6. Configure security and IP settings:

7. Configure Service Connect:

8. Check Use load balancing.

9. Configure load balancer:

10. Configure listener and target group:
81fcj-admin-tg
11. Review your configuration and click Create.

12. Wait for the service to be created (this may take a few minutes). Navigate to your ALB, copy the DNS name, and append :81 to it.
Example: fcj-alb-1993471058.ap-southeast-1.elb.amazonaws.com:81

13. Paste the URL into your browser to access the admin application.

14. Use admin for both Username and Password to log in and access the dashboard.
