Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Back Up Jenkins to the Cloud

DZone's Guide to

Back Up Jenkins to the Cloud

CloudBees created a new Jenkins backup plugin that lets you backup to S3 or Azure. Check out how it's done!

· Cloud Zone
Free Resource

Linkerd, the open source service mesh for cloud native applications. Get the complete guide to using Linkerd and Kubernetes to build scalable, resilient applications.

CloudBees has released a new version of its CloudBees Backup Plugin. With this new version, you will be able to back up CloudBees Jenkins Operations Center and CloudBees Jenkins Enterprise instances directly to Amazon S3 and Azure Blob Storage.

Until now, users who wanted to store their backups on one of these cloud services first had to back up to a local filesystem and use some sort of automation to upload it to the desired cloud service. With this new version, the process is fully automated and easy to setup as for the other available destinations.

To set up a backup to Amazon S3, in your backup job, select “Amazon S3” as the destination. Next, select the credentials of type AWS Credentials to log in to S3 or leave them blank to use IAM Role Credentials.

You also will need to choose the AWS Region, S3 Bucket Name, and S3 Bucket Folder to store the backups. Optionally, you can enable Server Side Encryption for increased security.

In case you want to backup to Azure Blob Storage, select Azure Blob Storage as the destination and type the container name and folder to store the backup.

For the connection, you can choose whether to use the Azure Instance configuration if you are running on Azure or to provide an account name and a key by selecting a credential of type “Secret Text”.

That’s all! Once the job is run, the backup will be created and uploaded to the selected service.

Linkerd, the open source service mesh for cloud native applications. Get the complete guide to using Linkerd and Kubernetes to build scalable, resilient applications.

Topics:
cloudbees ,backup ,cloud ,ci ,jenkins

Published at DZone with permission of Alvaro Lobato, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}