Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Atlassian DevOps Toolchain Cookbook

You're reading from   Atlassian DevOps Toolchain Cookbook Recipes for building, automating, and managing applications with Jira, Bitbucket Pipelines, and more

Arrow left icon
Product type Paperback
Published in Jul 2024
Publisher Packt
ISBN-13 9781835463789
Length 504 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Authors (4):
Arrow left icon
Rodney Nissen Rodney Nissen
Author Profile Icon Rodney Nissen
Rodney Nissen
Robert Wen Robert Wen
Author Profile Icon Robert Wen
Robert Wen
Alex Ortiz Alex Ortiz
Author Profile Icon Alex Ortiz
Alex Ortiz
Edward Gaile Edward Gaile
Author Profile Icon Edward Gaile
Edward Gaile
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1:Beginning the Cycle FREE CHAPTER
2. Chapter 1: An Introduction to DevOps and the Atlassian Ecosystem 3. Chapter 2: Discovering Customer Needs with Jira Product Discovery 4. Chapter 3: Planning and Documentation with Confluence 5. Part 2: Development to Deployment
6. Chapter 4: Enabling Connections for Design, Source Control, and Continuous Integration 7. Chapter 5: Understanding Bitbucket and Bitbucket Pipelines 8. Chapter 6: Extending and Executing Bitbucket Pipelines 9. Chapter 7: Leveraging Test Case Management and Security Tools for DevSecOps 10. Chapter 8: Deploying with Bitbucket Pipelines 11. Chapter 9: Leveraging Docker and Kubernetes for Advanced Configurations 12. Part 3: Maintaining Operations
13. Chapter 10: Collaborating with Operations through Continuous Deployment and Observability 14. Chapter 11: Monitoring Component Activity and Metrics Through CheckOps in Compass 15. Chapter 12: Escalate Using Opsgenie Alerts 16. Part 4: Putting It into Practice
17. Chapter 13: Putting It All Together with a Real-World Example 18. Chapter 14: Appendix – Key Takeaways and the Future of Atlassian DevOps Tools 19. Index 20. Other Books You May Enjoy

Deploying artifacts into AWS S3 buckets

In this recipe, we’re going to look at deploying to AWS. Bitbucket Pipelines has a variety of pipes that can deploy to specific AWS component services, depending on the type of build artifact.

Let’s look at what’s involved in deploying our build artifact into an AWS S3 bucket. This is a typical use case of deployment using Bitbucket Pipelines.

Getting ready

When setting up the pipe to deploy to an AWS S3 bucket, the only thing you need to do is set up the following variables:

  • AWS_ACCESS_KEY_ID: Your AWS access key.
  • AWS_SECRET_ACCESS_KEY: Your AWS secret access key. This should be saved as a secured variable.
  • AWS_DEFAULT_REGION: The default AWS region of your resource.

Now that these have been defined, let’s look at setting up the pipe.

How to do it…

At this point, we need to add our pipe configuration to the script section of our bitbucket-pipelines.yml file. Let’...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime