Monday, May 17, 2021

Creating a Publish/Subscription Spring Boot Application

 You can create a web application that has subscription and publish functionality by using the Amazon Simple Notification Service (Amazon SNS). The application created in this AWS tutorial is a Spring Boot web application that lets a user subscribe to an Amazon SNS topic by entering a valid email address. A user can enter many emails and all of them are subscribed to the given SNS topic (once the email recipients confirm the subscription). The user can publish a message that results in all subscribed emails receiving the message.

Note: Amazon SNS is a managed service that provides message delivery from publishers to subscribers (also known as producers and consumers). For more information, see What is Amazon SNS?

To subscribe to an Amazon SNS topic, the user enters a valid email address into the web application.


The specified email address recieves an email message that lets the recipient confirm the subscription.



Once the email recipient accepts the confirmation, that email is subscribed to the specific SNS topic and receives published messages. To publish a message, a user enters the message into the web application and then chooses the Publish button.




I work on AWS Java code that helps AWS developers. Included in this role is working with AWS Services such as S3, DynamoDB, EC2, Lambda functions, and so on. 

https://www.linkedin.com/in/scottmacdonald2010/




Tuesday, May 4, 2021

Creating a Job Posting Site using Amazon Redshift and Amazon Translate Services

 You can create a web application that stores and queries data by using the Amazon Redshift service and the Amazon Redshift Java API V2. To interact with an Amazon Redshift table, you can use a software.amazon.awssdk.services.redshiftdata.RedshiftDataClient. The application created in this AWS tutorial is a job posting web application that lets an employer, an administrator, or human resources staff alert employees or the public about a job opening within a company.

Note: Amazon Redshift is a fully managed, petabyte-scale data warehouse service in the cloud. You can start with just a few hundred gigabytes of data and scale to a petabyte or more. This enables you to use your data to acquire new insights for your business and customers. For more information, see What is Amazon Redshift?.

The data is stored in a Redshift table named blog, as shown in this illustration.


The application you create uses Spring Boot APIs to build a model, different views, and a controller. This web application also lets a user submit a new job posting that is then stored into the blog table, as shown in this illustration.



This example application lets you view the posts by choosing the Get Posts menu item and choosing one of the available buttons. For example, you can view five recent posts by choosing the Five Posts button, as shown in the following illustration.




This application also supports viewing the result set in different languages. For example, if a user wants to view the result set in Spanish, they can choose Spanish from the dropdown field and the data is translated to the given language by using Amazon Translate, as shown in this illustration.




To read this AWS tutorial, click https://github.com/scmacdon/aws-doc-sdk-examples/tree/master/javav2/usecases/creating_redshift_application.


I work on AWS Java code that helps AWS developers. Included in this role is working with AWS Services such as S3, DynamoDB, EC2, Lambda functions, and so on. 

https://www.linkedin.com/in/scottmacdonald2010/


Deploying a Java web application to Amazon ECS

 You can deploy a Java web application that uses the AWS SDK for Java (v2) to Amazon Elastic Container Service (Amazon ECS). Amazon ECS is a...