{"id":17173,"date":"2023-08-18T11:59:45","date_gmt":"2023-08-18T11:59:45","guid":{"rendered":"http:\/\/64df4e5b01a236001b442db7"},"modified":"2025-01-07T04:33:40","modified_gmt":"2025-01-07T03:33:40","slug":"cd-springboot-aws-eb-github-actions","status":"publish","type":"post","link":"https:\/\/dassiorleando.com\/fr\/cd-springboot-aws-eb-github-actions\/","title":{"rendered":"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide"},"content":{"rendered":"<h2 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h2>\n\n\n\n<p>The ability to deploy updates swiftly and reliably is paramount, it enables companies to be even more agile. Spring Boot, a widely adopted Java framework, seamlessly integrates with AWS Elastic Beanstalk, a platform-as-a-service solution. When coupled with the automation capabilities of GitHub Actions, the process of continuous deployment becomes a breeze. In this comprehensive guide, we&#8217;ll walk you through the process of setting up continuous deployment for your Spring Boot application on AWS Elastic Beanstalk using GitHub Actions.<\/p>\n\n\n\n<p>This article covers <strong>Part 3<\/strong> of the <a href=\"https:\/\/youtube.com\/playlist?list=PLJl2liPyo6s3oQkBT2UWbuSfrwO4aS-9Z\" rel=\"nofollow\">Lift and Shift Cloud Migration Series<\/a> that we started on YouTube, please <a href=\"https:\/\/www.youtube.com\/@numericaideas\/channels?sub_confirmation=1\" rel=\"nofollow\">SUBSCRIBE HERE<\/a> to be kept posted of the next chapters.<\/p>\n\n\n\n<p>Do you prefer the Video format instead? Feel free to watch it by following this <a href=\"https:\/\/youtu.be\/TI84hpeiTZE\" target=\"_blank\" rel=\"noreferrer noopener\">link<\/a>:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Lift And Shift Cloud Migration of Spring Boot to AWS ElasticBeanstalk | Part 3: GitHub Actions CI\/CD\" width=\"960\" height=\"540\" src=\"https:\/\/www.youtube.com\/embed\/TI84hpeiTZE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>The&nbsp;<strong>YouTube Channels<\/strong>&nbsp;in both English (En) and French (Fr) are now accessible, feel free to subscribe by clicking&nbsp;<a href=\"https:\/\/www.youtube.com\/@numericaideas\/channels?sub_confirmation=1\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n<\/blockquote>\n\n\n<div class=\"vlp-link-container vlp-layout-basic wp-block-visual-link-preview-link\"><a href=\"https:\/\/www.youtube.com\/@numericaideas\/channels?sub_confirmation=1\" class=\"vlp-link\" title=\"Numerica Ideas\" rel=\"nofollow\" target=\"_blank\"><\/a><div class=\"vlp-layout-zone-side\"><div class=\"vlp-block-2 vlp-link-image\"><img decoding=\"async\" src=\"https:\/\/yt3.googleusercontent.com\/klwPa3fnccvxnvUjmfGmcdJDeX8J7BMbRraxiH69WeLx6qr3fQdxYSGN37vKE4jBCqGX5pZCgQ=s900-c-k-c0x00ffffff-no-rj\" style=\"max-width: 150px; max-height: 150px\" \/><\/div><\/div><div class=\"vlp-layout-zone-main\"><div class=\"vlp-block-0 vlp-link-title\">Numerica Ideas<\/div><div class=\"vlp-block-1 vlp-link-summary\">NumericaIdeas is a technical community that creates opportunities for IT professionals, where you\u2019ll secure your dream job, and indeed the group through which you can develop your hard and soft skills at your own pace. Our motto is \u201cDiscover, Learn, Build, &amp; Share\u201d \ud83d\ude80 \ud83d\udca1 La cha\u00eene est aussi disponi\u2026<\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"prerequisites\">Prerequisites<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Spring Boot Application on GitHub:<\/strong>&nbsp;Begin with a Spring Boot application hosted on GitHub, here&#8217;s our&nbsp;<a href=\"https:\/\/github.com\/numerica-ideas\/community\/tree\/master\/aws\/springboot-migration-elasticbeanstalk\">demo App<\/a>.<\/li>\n\n\n\n<li><strong>AWS Elastic Beanstalk Environment:<\/strong>&nbsp;Ensure you have an existing AWS account with an Elastic Beanstalk environment configured, here&#8217;s&nbsp;<a href=\"https:\/\/blog.numericaideas.com\/lift-and-shift-cloud-migration-manual-aws-elasticbeanstalk#migration-steps\">the guide<\/a>.<\/li>\n\n\n\n<li><strong>Familiarity with Tools:<\/strong>&nbsp;Familiarize yourself with AWS Elastic Beanstalk, Spring Boot, GitHub, and GitHub Actions.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-1-prepare-your-aws-elastic-beanstalk-environment\">Step 1: Prepare Your AWS Elastic Beanstalk Environment<\/h2>\n\n\n\n<p>Before configuring GitHub Actions, it is essential to ensure the presence of a fully operational Spring Boot application that has been deployed on AWS Elastic Beanstalk. This entails the creation of an environment within Elastic Beanstalk, the establishment of requisite AWS resources, and the verification of seamless functionality of your application within the AWS ecosystem.<\/p>\n\n\n\n<p>In case you are first looking to deploy your Spring Boot App to AWS using Elastic Beanstalk service, we do recommend you to take a look at this related article,&nbsp;<a href=\"https:\/\/blog.numericaideas.com\/lift-and-shift-cloud-migration-manual-aws-elasticbeanstalk\">Spring Boot Lift And Shift Cloud Migration via AWS<\/a>.<\/p>\n\n\n\n<p>The following is a summary of what should be done before moving to the next step.<\/p>\n\n\n\n<p>First, let&#8217;s&nbsp;<strong>clone<\/strong>&nbsp;the Spring Boot GitHub repository:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">git clone https:\/\/github.com\/numerica-ideas\/community\ncd aws\/springboot-migration-elasticbeanstalk<\/pre>\n\n\n\n<p>The App has a&nbsp;<a href=\"https:\/\/github.com\/numerica-ideas\/community\/blob\/master\/aws\/springboot-migration-elasticbeanstalk\/.elasticbeanstalk\/config.yml\">configuration file<\/a>&nbsp;necessary to set up our Elastic Beanstalk environment for the provisioning of our AWS infrastructure, as the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Application name<\/strong>: springboot-migration-elasticbeanstalk<\/li>\n\n\n\n<li><strong>Environment name<\/strong>: spring-cloud-migration<\/li>\n\n\n\n<li><strong>The platform<\/strong>&nbsp;to use: Java 17 &#8211; Corretto<\/li>\n\n\n\n<li><strong>AWS region<\/strong>: us-east-1<\/li>\n\n\n\n<li><strong>The artifact (JAR file) location<\/strong>: runnable.jar<\/li>\n<\/ul>\n\n\n\n<p>Next, from the project root folder, create the&nbsp;<strong>Elastic Beanstalk environment<\/strong>&nbsp;with the following command, assuming you successfully installed&nbsp;<a href=\"https:\/\/blog.numericaideas.com\/lift-and-shift-cloud-migration-manual-aws-elasticbeanstalk#migration-steps\">EB CLI<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">eb create spring-cloud-migration --sample --single --timeout 30 --instance_type t2.micro --database.username SpringBootAdmin --database.password Strange_Pwd --envvars PORT=9090 --tags tag1=val1,tag2=val2<\/pre>\n\n\n\n<p>It&#8217;ll take a few minutes and you&#8217;ll have an output similar to the following:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/assets.numericaideas.com\/2023\/08\/create-elasticbeanstalk-environment.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Create Elastic Beanstalk Environment<\/figcaption><\/figure>\n\n\n\n<p>By running the command&nbsp;<code>eb open<\/code>, or by accessing the generated application URL you&#8217;ll see a placeholder App for now:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/assets.numericaideas.com\/2023\/08\/sample-eb-app.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Elastic Beanstalk Placeholder App<\/figcaption><\/figure>\n\n\n\n<p>Finally, let&#8217;s deploy the Spring Boot App into our EB Environment along with a MySQL database hosted on AWS RDS, here&#8217;s the command:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">eb deploy<\/pre>\n\n\n\n<p><strong>Note<\/strong>: In order to implement your modifications, you need to commit them initially for Elastic Beanstalk to take them into account. Nevertheless, during your development or debugging process, you might prefer not to push changes that haven&#8217;t been verified as functional. You can bypass the need to commit your alterations by staging them and utilizing the command&nbsp;<code>eb deploy --staged<\/code>, which conducts a regular deployment.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/assets.numericaideas.com\/2023\/08\/eb-deploy-command.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Elastic Beanstalk Deployment Command<\/figcaption><\/figure>\n\n\n\n<p>The deployment is overridden and we no more see the sample application, feel free to use Postman to test it as illustrated in the&nbsp;<a href=\"https:\/\/youtu.be\/tWQFavEJQ7c?t=908\">video<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-2-safeguard-aws-credentials\">Step 2: Safeguard AWS Credentials<\/h2>\n\n\n\n<p>For GitHub Actions to deploy to your AWS environment, it&#8217;s essential to securely manage your AWS credentials. This can be achieved by utilizing&nbsp;<strong>GitHub Secrets<\/strong>, which enables you to store sensitive data securely.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to your GitHub repository.<\/li>\n\n\n\n<li>Click on &#8220;Settings&#8221;, then &#8220;Secrets and variables&#8221;, then on &#8220;Actions&#8221;, and finally, &#8220;New repository secret.&#8221;<\/li>\n\n\n\n<li>Create two secrets:&nbsp;<code>AWS_ACCESS_KEY_ID<\/code>&nbsp;and&nbsp;<code>AWS_SECRET_ACCESS_KEY<\/code>, providing the respective confidential values.<\/li>\n<\/ol>\n\n\n\n<p>Here&#8217;s an illustration of that section with the required AWS credentials:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/assets.numericaideas.com\/2023\/08\/github-actions-secrets-variables.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">GitHub Actions Secrets Variables<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-3-github-actions-workflow-configuration\">Step 3: GitHub Actions Workflow Configuration<\/h2>\n\n\n\n<p>In your GitHub repository, create a new directory called&nbsp;<code>workflows<\/code>&nbsp;within the&nbsp;<code>.github<\/code>&nbsp;folder if it doesn&#8217;t exist already.<\/p>\n\n\n\n<p>Within that directory, create a YAML file (e.g.,&nbsp;<code>eb-springboot-workflow.yml<\/code>) to define the GitHub Actions workflow. Below is an example YAML workflow that orchestrates the deployment of your Spring Boot application to AWS Elastic Beanstalk:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">name: Continuous Deployment of Spring Boot to AWS Elastic Beanstalk workflow\non:\n  workflow_dispatch:      # Enable to run workflow manually through the GitHub Actions Workflow page directly\n  push:                   # Let's specify the target branch that triggers the action on new commits\n    branches:\n      - feature\/lift-shift-cicd\njobs:\n  build-deploy-to-aws-eb:\n    name: Build and deploy a Spring-Boot App to AWS Elastic Beanstalk\n    runs-on: ubuntu-latest\n    defaults:             # Remove this section if your App is at the root of your repository\n      run:\n        shell: bash\n        working-directory: .\/aws\/springboot-migration-elasticbeanstalk\n    steps:\n      - name: Checkout\n        uses: actions\/checkout@v3\n      - name: Install and set up Java 17 on the runner\n        uses: actions\/setup-java@v3\n        with:\n          distribution: 'temurin'\n          java-version: '17'\n      - name: Build the project using a custom script\n        run: .\/build.sh\n      - name: Generate deployment package\n        run: zip -r deploy.zip . -i 'runnable.jar'\n      - name: Deploy to AWS ElasticBeanstalk\n        uses: einaregilsson\/beanstalk-deploy@v21\n        with:\n          region: us-east-1\n          aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          application_name: springboot-migration-elasticbeanstalk\n          environment_name: spring-cloud-migration\n          version_label: ${{ github.run_number }}\n          use_existing_version_if_available: true\n          deployment_package: .\/aws\/springboot-migration-elasticbeanstalk\/deploy.zip\n      - run: echo \"? This job's status is ${{ job.status }}.\"\n<\/pre>\n\n\n\n<p>This workflow triggers when changes are pushed to the&nbsp;<code>feature\/lift-shift-cicd<\/code>&nbsp;branch, you can target other branches or other event types as documented&nbsp;<a href=\"https:\/\/docs.github.com\/en\/actions\/using-workflows\/workflow-syntax-for-github-actions#on\">here<\/a>. It configures the Java environment, compiles the Spring Boot app using Maven, and finally, utilizes the AWS Elastic Beanstalk CLI to deploy the application to the specified environment.<\/p>\n\n\n\n<p>Replace&nbsp;<code>application_name<\/code>&nbsp;and&nbsp;<code>environment_name<\/code>&nbsp;values with your actual Elastic Beanstalk deployment details, the&nbsp;<strong>GitHub Actions Encrypted Secrets<\/strong>&nbsp;are accessible by the workflow using the pattern&nbsp;<code>{{ secrets.SECRET_NAME }}<\/code>, and do remember to provide the right path as the&nbsp;<strong>working_directory<\/strong>&nbsp;and&nbsp;<strong>deployment_package<\/strong>&nbsp;lines.<\/p>\n\n\n\n<p>Let&#8217;s note that the&nbsp;<strong>custom build script (<code>build.sh<\/code>)<\/strong>&nbsp;simply build the App, and make sure to copy the resultant JAR file to a specific location at the root of the project, here&#8217;s its content:<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\"># Compile the App and move the executable JAR file to the root folder under runnable.jar\nrm -f *.jar\n.\/mvnw clean install -DskipTests\ncp target\/*.jar runnable.jar\necho \"App Compiled Successfully\"<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-4-deploy-and-validate-the-workflow\">Step 4: Deploy and Validate the Workflow<\/h2>\n\n\n\n<p>Let&#8217;s test everything with the following points:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Commit all the changes along with the&nbsp;<code>.github\/workflows\/eb-springboot-workflow.yml<\/code>&nbsp;file to your GitHub repository.<\/li>\n\n\n\n<li>Make a minor code alteration in your Spring Boot application and push it to the&nbsp;<code>feature\/lift-shift-cicd<\/code>&nbsp;branch.<\/li>\n<\/ol>\n\n\n\n<p>GitHub Actions will automatically detect the push event, trigger the workflow, and initiate the deployment of your Spring Boot application to AWS Elastic Beanstalk. Monitor the workflow&#8217;s progress and view logs conveniently from the GitHub Actions dashboard&nbsp;<code>(Repository &gt; Actions)<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/assets.numericaideas.com\/2023\/08\/successful-eb-cd.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Successful Elastic Beanstalk Continuous Deployment<\/figcaption><\/figure>\n\n\n\n<p><strong>Note<\/strong>: In case you would like to delete your EB environment from the terminal, the command&nbsp;<code>eb terminate<\/code>&nbsp;will erase everything.<\/p>\n\n\n\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n\n\n\n<p>We have just started our journey to build a network of professionals to grow even more our free knowledge-sharing community that\u2019ll give you a chance to learn interesting things about topics like cloud computing, software development, and software architectures while keeping the door open to more opportunities.<\/p>\n\n\n\n<p>Does this speak to you? If&nbsp;<strong>YES<\/strong>, feel free to&nbsp;<a href=\"https:\/\/discord.numericaideas.com\/\">Join our Discord Server<\/a>&nbsp;to stay in touch with the community and be part of independently organized events.<\/p>\n\n\n\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n\n\n\n<p>If the&nbsp;<strong>Cloud<\/strong>&nbsp;is of interest to you this&nbsp;<a href=\"https:\/\/youtu.be\/0II0ikOZEYE\">video<\/a>&nbsp;covers the 6 most&nbsp;<strong>Important Concepts<\/strong>&nbsp;you should know about it.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Important Cloud Computing Concepts in 8 minutes\" width=\"960\" height=\"540\" src=\"https:\/\/www.youtube.com\/embed\/0II0ikOZEYE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>In this comprehensive guide, we&#8217;ve outlined a streamlined approach for achieving continuous deployment of your Spring Boot application on AWS Elastic Beanstalk through GitHub Actions. This integration empowers development teams to concentrate on coding while automating deployment tasks. The result is an accelerated development lifecycle, enhanced deployment reliability, and the ability to deliver value to users more frequently and efficiently.<\/p>\n\n\n\n<p>Thanks for reading this article. Like, recommend, and share if you enjoyed it. Follow us on&nbsp;<a href=\"https:\/\/www.facebook.com\/numericaideas\">Facebook<\/a>,&nbsp;<a href=\"https:\/\/twitter.com\/numericaideas\">Twitter<\/a>, and&nbsp;<a href=\"https:\/\/www.linkedin.com\/company\/numericaideas\">LinkedIn<\/a>&nbsp;for more content.<\/p>","protected":false},"excerpt":{"rendered":"<p>In this comprehensive guide, we&#8217;ll walk you through the process of setting up continuous deployment for your Spring Boot application on AWS Elastic Beanstalk using GitHub Actions.<\/p>","protected":false},"author":2,"featured_media":18680,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63,64,66],"tags":[62,67,58,68],"class_list":["post-17173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-devops","category-full-stack","tag-aws","tag-github-actions","tag-spring-boot","tag-videos"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide<\/title>\n<meta name=\"description\" content=\"In this comprehensive guide, we&#039;ll walk you through the process of setting up continuous deployment for your Spring Boot application on AWS Elastic Beanstalk using GitHub Actions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/\" \/>\n<meta property=\"og:locale\" content=\"fr_CA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide\" \/>\n<meta property=\"og:description\" content=\"In this comprehensive guide, we&#039;ll walk you through the process of setting up continuous deployment for your Spring Boot application on AWS Elastic Beanstalk using GitHub Actions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/\" \/>\n<meta property=\"og:site_name\" content=\"Orleando Dassi\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-18T11:59:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-07T03:33:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/08\/cd-springboot-aws-eb-github-actions-1-min.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1366\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Orl\u00e9ando Dassi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dassiorleando\" \/>\n<meta name=\"twitter:site\" content=\"@dassiorleando\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Orl\u00e9ando Dassi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dassiorleando.com\/cd-springboot-aws-eb-github-actions\/\"},\"author\":{\"name\":\"Orl\u00e9ando Dassi\",\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\"},\"headline\":\"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide\",\"datePublished\":\"2023-08-18T11:59:45+00:00\",\"dateModified\":\"2025-01-07T03:33:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dassiorleando.com\/cd-springboot-aws-eb-github-actions\/\"},\"wordCount\":1244,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\"},\"image\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/08\/cd-springboot-aws-eb-github-actions-1-min.png\",\"keywords\":[\"AWS\",\"GitHub Actions\",\"Spring Boot\",\"Videos\"],\"articleSection\":[\"Cloud\",\"DevOps\",\"Full Stack\"],\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dassiorleando.com\/cd-springboot-aws-eb-github-actions\/\",\"url\":\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/\",\"name\":\"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide\",\"isPartOf\":{\"@id\":\"https:\/\/dassiorleando.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/08\/cd-springboot-aws-eb-github-actions-1-min.png\",\"datePublished\":\"2023-08-18T11:59:45+00:00\",\"dateModified\":\"2025-01-07T03:33:40+00:00\",\"description\":\"In this comprehensive guide, we'll walk you through the process of setting up continuous deployment for your Spring Boot application on AWS Elastic Beanstalk using GitHub Actions.\",\"breadcrumb\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#breadcrumb\"},\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#primaryimage\",\"url\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/08\/cd-springboot-aws-eb-github-actions-1-min.png\",\"contentUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/08\/cd-springboot-aws-eb-github-actions-1-min.png\",\"width\":1366,\"height\":768,\"caption\":\"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dassiorleando.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dassiorleando.com\/#website\",\"url\":\"https:\/\/dassiorleando.com\/\",\"name\":\"Orleando Dassi\",\"description\":\"My personal portfolio and resume\",\"publisher\":{\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dassiorleando.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-CA\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\",\"name\":\"Orl\u00e9ando Dassi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp\",\"contentUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp\",\"width\":1643,\"height\":1747,\"caption\":\"Orl\u00e9ando Dassi\"},\"logo\":{\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/\"},\"description\":\"I'm a Solutions Architect with 10 years of experience who is constantly learning while impacting the community by producing technical articles\/videos, building projects, and conducting tech mentoring\/coaching sessions. What describes me the most is my flexibility.\",\"sameAs\":[\"https:\/\/dassiorleando.com\/\",\"https:\/\/www.instagram.com\/dassiorleando\/\",\"https:\/\/www.linkedin.com\/in\/dassi-orleando-257b04ab\/\",\"https:\/\/x.com\/dassiorleando\",\"https:\/\/www.youtube.com\/@dassiorleando\"],\"url\":\"https:\/\/dassiorleando.com\/fr\/author\/dassiorleando\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide","description":"In this comprehensive guide, we'll walk you through the process of setting up continuous deployment for your Spring Boot application on AWS Elastic Beanstalk using GitHub Actions.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/","og_locale":"fr_CA","og_type":"article","og_title":"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide","og_description":"In this comprehensive guide, we'll walk you through the process of setting up continuous deployment for your Spring Boot application on AWS Elastic Beanstalk using GitHub Actions.","og_url":"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/","og_site_name":"Orleando Dassi","article_published_time":"2023-08-18T11:59:45+00:00","article_modified_time":"2025-01-07T03:33:40+00:00","og_image":[{"width":1366,"height":768,"url":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/08\/cd-springboot-aws-eb-github-actions-1-min.png","type":"image\/png"}],"author":"Orl\u00e9ando Dassi","twitter_card":"summary_large_image","twitter_creator":"@dassiorleando","twitter_site":"@dassiorleando","twitter_misc":{"Written by":"Orl\u00e9ando Dassi","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#article","isPartOf":{"@id":"https:\/\/dassiorleando.com\/cd-springboot-aws-eb-github-actions\/"},"author":{"name":"Orl\u00e9ando Dassi","@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e"},"headline":"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide","datePublished":"2023-08-18T11:59:45+00:00","dateModified":"2025-01-07T03:33:40+00:00","mainEntityOfPage":{"@id":"https:\/\/dassiorleando.com\/cd-springboot-aws-eb-github-actions\/"},"wordCount":1244,"commentCount":0,"publisher":{"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e"},"image":{"@id":"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#primaryimage"},"thumbnailUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/08\/cd-springboot-aws-eb-github-actions-1-min.png","keywords":["AWS","GitHub Actions","Spring Boot","Videos"],"articleSection":["Cloud","DevOps","Full Stack"],"inLanguage":"fr-CA","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dassiorleando.com\/cd-springboot-aws-eb-github-actions\/","url":"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/","name":"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide","isPartOf":{"@id":"https:\/\/dassiorleando.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#primaryimage"},"image":{"@id":"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#primaryimage"},"thumbnailUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/08\/cd-springboot-aws-eb-github-actions-1-min.png","datePublished":"2023-08-18T11:59:45+00:00","dateModified":"2025-01-07T03:33:40+00:00","description":"In this comprehensive guide, we'll walk you through the process of setting up continuous deployment for your Spring Boot application on AWS Elastic Beanstalk using GitHub Actions.","breadcrumb":{"@id":"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#breadcrumb"},"inLanguage":"fr-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/"]}]},{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#primaryimage","url":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/08\/cd-springboot-aws-eb-github-actions-1-min.png","contentUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2023\/08\/cd-springboot-aws-eb-github-actions-1-min.png","width":1366,"height":768,"caption":"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide"},{"@type":"BreadcrumbList","@id":"https:\/\/numericaideas.com\/blog\/cd-springboot-aws-eb-github-actions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dassiorleando.com\/"},{"@type":"ListItem","position":2,"name":"Continuous Deployment of Spring Boot to AWS Elastic Beanstalk via GitHub Actions: A Step-by-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/dassiorleando.com\/#website","url":"https:\/\/dassiorleando.com\/","name":"Orleando Dassi","description":"My personal portfolio and resume","publisher":{"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dassiorleando.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-CA"},{"@type":["Person","Organization"],"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e","name":"Orl\u00e9ando Dassi","image":{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/","url":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp","contentUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp","width":1643,"height":1747,"caption":"Orl\u00e9ando Dassi"},"logo":{"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/"},"description":"I'm a Solutions Architect with 10 years of experience who is constantly learning while impacting the community by producing technical articles\/videos, building projects, and conducting tech mentoring\/coaching sessions. What describes me the most is my flexibility.","sameAs":["https:\/\/dassiorleando.com\/","https:\/\/www.instagram.com\/dassiorleando\/","https:\/\/www.linkedin.com\/in\/dassi-orleando-257b04ab\/","https:\/\/x.com\/dassiorleando","https:\/\/www.youtube.com\/@dassiorleando"],"url":"https:\/\/dassiorleando.com\/fr\/author\/dassiorleando\/"}]}},"_links":{"self":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts\/17173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/comments?post=17173"}],"version-history":[{"count":1,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts\/17173\/revisions"}],"predecessor-version":[{"id":21655,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts\/17173\/revisions\/21655"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/media\/18680"}],"wp:attachment":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/media?parent=17173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/categories?post=17173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/tags?post=17173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}