In this tutorial, I will demonstrate how to use Bitbucket Pipelines to automate deployment updates to AWS Elastic Beanstalk when code is committed. A simple Spring Boot application will be used as an example application deployed on Elastic Beanstalk.

This tutorial assumes a basic understanding of Git, AWS, and that you have a Spring Boot project that you want to deploy on Elastic Beanstalk using Bitbucket Pipelines.

1. Bitbucket Repository Set Up

If you do not already have a Bitbucket account, you will need to create one here. If your repository is already hosted on Bitbucket you can skip to the next section, otherwise you will need to create a new repository for your Spring Boot application, as shown. …


In this tutorial I will show you how to create a Spring Boot application and implement OAuth security to secure your resource endpoints. In part 1 the resource endpoint will return a simple response message, in part 2 I will cover connecting your Spring Boot application to a SQL database to return data from your endpoints.

Image for post
Image for post

1. Environment Setup

If you do not already have Java and Maven installed, you will first need to install them. I will use IntelliJ IDEA as the IDE for this tutorial, but you can use Eclipse or your preferred IDE instead. …


In this tutorial, I will show you how to create a Lambda function which queries data from your RDS database using the pymysql library.

Image for post
Image for post

1. AWS Account Setup

If you already have an AWS account setup, please skip ahead to section 2. If you do not, you can sign up for an account here. You will be required to enter payment details but you get 12 months of free tier access when signing up and nothing in this tutorial will exceed free tier limits.

Note: If you have exceeded your free tier usage for your account already, you may be charged for the usage of the AWS services described in this tutorial. …


In this tutorial, I will walk you through how to set up endpoints using API Gateway to trigger Lambda functions which interact with your DynamoDB database using the boto3 Python library. I will upload a future tutorial explaining how to write a Lambda function to communicate with RDS instead of DynamoDB using pymysql and Lambda layers.

Image for post
Image for post

1. AWS Account Setup

If you already have an AWS account setup, please skip ahead to section 2. If you do not, you can sign up for an account here. …

About

Conor O'Dwyer

I am a software developer/consultant with experience using technologies such as Spring, Angular, AWS, LabWare LIMS and more. https://www.tutorialratings.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store