Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

setting aws

Juan Carlos Cardenas Padilla February 8, 2022

Good afternoon Andre

I need to integrate jira software with amazon web services to make backups of the project that I need to create.

How can I do it?

2 answers

2 accepted

1 vote
Answer accepted
Piotr Zadrożny _Eyzee_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 8, 2022

Hi @Juan Carlos Cardenas Padilla 

Can you please elaborate on what you need to achieve? Are you planning to use AWS resources and services to make a backup of Jira Software? If so you can modify scripts provided here https://bitbucket.org/atlassianlabs/automatic-cloud-backup/src/master/ and run them on AWS infrastructures like Lambda function or Fargate container. You can also modify these scripts to save backup to S3 storage. Please notice that those scripts are not officially supported. As far as I know, there is no native solution to create a backup of a single project.

Please let me know if I understand you correctly?

Best,

Piotr 

Juan Carlos Cardenas Padilla February 8, 2022

That is what I want to do.

You have the scripts to be able to carry out tests.

Piotr Zadrożny _Eyzee_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 8, 2022

Well in the matter of fact I have :D

My idea was to trigger this Lambda script using AWS Eventbridge, run it in the Lambda function, save the resulting backup file in the S3 bucket. Script uses AWS Secret Manager to securely access Atlassian token, and AWS SNS to send communications in case of backup failure.

You need to understand some limitations though:

  1. Script is still in development and for example needs to properly handle exceptions.
  2. I planned to run it in Lambda function which is limited to 15min before timeout. So if you have a lot of attachments, you will just run out of time. You can run a similar script in the Fargate container or bare EC2 instance where you will not encounter such limitations. If you still plan to run it in Lambda function I suggest splitting it into two separate scripts: one to trigger backup creation and the second to download the generated file.

Link to the repo: https://bitbucket.org/piotr_zadrozny/automatic-serverless-jira-cloud-backup-to-s3/src/main/jira_backup_lambda_function.py

Best,

Piotr

Like Steffen Opel _Utoolity_ likes this
Mike Owen
Contributor
June 30, 2022

Hi @Piotr Zadrożny _Eyzee_ . Just wanted to say that thanks to your scripts, I made a couple of slight modifications to them and managed to get our backups working for JIRA and Confluence into AWS S3 using AWS ECS (Fargate), and pushing the docker image to ECR. 

 

https://gitlab.com/michael1.owen/atlassiancloudbackups-jira

 

Managed to get a similar one working for Confluence too, and will share that once I've removed any sensitive details from the scripts.

 

All in all, the compute time costs us about $0.02 per backup.

 

I'm not most the world-best coder, but it was a nice side project to be working on in my spare time.

0 votes
Answer accepted
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 8, 2022

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events