Tuesday, February 2, 2021

 

 Deployment of SpringBoot Services on AWS Elastic Container Services: Part 5  Deploy Service

For the forth part of this thread, please click on Part 4

Deploy the monolith as a service into the cluster.

  • Navigate to the Amazon ECS console and select Clusters from the left menu bar.
  • Select the cluster select the Services tab then select Create.
  • On the Configure service page, edit the following parameters (and keep the default values for parameters not listed below): 
    • For the Launch type, select EC2.
    • For the Service name, enter api
    • For the Number of tasks, enter 1.
    • Select Next step.
  • On the Configure network page, Load balancing section, select Application Load Balancer.
    Additional parameters will apear: Service IAM role and Load balancer name.
    • For the Service IAM role, select SprinBootRole.
    • For the Load balancer name, verify that the appropriate load balancer is selected.
  • In the Container to load balance section, select Add to load balancer.
    Additional information labeled api:3000 is shown.
  • In the api:3000 section, do the following:
    • For the Production listener port field, select 80:HTTP.
    • For the Target group name, select your group: api.
  • In the Service discovery section, Enable service discovery integration option, clear the checkmark. This option should not be enabled.
  • Select Next step.
  • On the Set Auto Scaling page, leave the default setting and select Next step.
  • On the Review page, review the settings then select Create Service.
  • After the service has been created, select View Service.

Sentiment Analysis using NLP - Java SDK for Amazon Bedrock/Amazon Sagemaker

Sentiment analysis is a natural language processing (NLP) technique used to determine the sentiment or emotional tone expressed in a piece o...