RSS to social integration - An example using Lambda, Python, and Amazon Translate

RSS to social integration - An example using Lambda, Python, and Amazon Translate

In this article we’ll explore a RSS to social (e.g. LinkedIn) integration using AWS Lambda with Python. We’ll use Amazon Translate to provide the content of the post in Italian for the social platform. The architecture will be defined via Terraform. We’ll proceed as follows:

  • Definition of the Lambda infrastructure in Terraform
    • How Terraform manages python code
  • Python software components
    • Production code
    • Unit and integration test code
  • Integration examples
  • Upcoming improvements
Read more
An Oauth2 use case - Authenticating and posting articles with images via LinkedIn API (v. 202504)

An Oauth2 use case - Authenticating and posting articles with images via LinkedIn API (v. 202504)

In this article we will do a review of all the steps needed for authenticating on Linkedin via its API, which rely on Oauth2 protocol. After authentication, we’ll use the API to post content with images. We’ll assume that the reader already has an active account on LinkedIn.
We’ll go in details will all the requests and responses needed for succeeding, and in each step we’ll provide a sequence diagram to better follow the process.
We’ll also refer to the last version of the LinkedIn API, which is 2025-04.
The content will be as follow:

  • Prerequisites before starting
  • Oauth2 in Action
  • Get the profile URN
  • Finally posting content
Read more
Got my AWS solution architect certification!
Got my Terraform certification!
Domesticate AWS nested stacks in Java: doing the chores Cloudformation doesn't do (w/ code samples)

Domesticate AWS nested stacks in Java: doing the chores Cloudformation doesn't do (w/ code samples)

In this article we’ll navigate through the creation of a Nested Stack in Cloudformation using the Java SDK. The child stack will be a lambda function, and the code will be uploaded with a zip archive.

What’s Cloudformation, and what’s a nested stack?

Cloudformation is the AWS offering of infrastructure as code. Instead of navigating the web UI adding and configuring resources, Cloudformation offers the capability of reading a user - supplied file (either JSON or YAML) containing the list of resources and their relationships and create them as the code states.
These resources must be grouped in Stacks, which is the parentmost object that Cloudformation can process.
Things get interesting when stacks reference other stacks, of course :-)

Read more