Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

AWS hosted Atlassian - requirements

Dear Community,

 

I have a question regarding hardware requirements for hosting such applications as Crowd, Jira Server, Confluence Server, Bitbucket Server and Bamboo Server on AWS EC2 instances with RDS (postgres). I cannot find it in the documentation. My instances are licensed as following:

  • Jira Software - up to 2000 users
  • Jira Service Desk - 25 agents
  • Confluence - up to 2000 users
  • Bitbucket - up to 1000 users
  • Bamboo - 10 remote agents

 

Each of those applications has its own EC2 instance and RDS. I'm wondering what are the recommended db and ec2 types provided by AWS? Is there any article I could read?

Thank you in advance for help.

 

Best Regards,

Lukasz

1 answer

1 accepted

1 vote
Answer accepted
Alexis Robert Community Leader Aug 23, 2018

Hi @lozog95

 

I think the instance sizing will depend not only on the number of agents but also how you use each component.

For example, in Bamboo it's more about the number of plans, their complexity and the size of the projects than the number of users. For Jira you'll need more powerful servers if you have lots of custom fields, post functions, custom scripts.

 

These pages should offer some guidance on hardware requirements:

 

 

In my experience, it will depend a lot on the customization of your applications and the number of concurrent users. 

For your smaller instances, a t2.medium/large should be enough. For the bigger ones, I'd look at the c5.xlarge ones.

 

--Alexis

Hi @lozog95 Have you resolved this if you resolved this can you please suggest me the steps 

I have similar requirement I have a Jira Server in AWS Ec2 instance and postgres db also in the same instance 

 

Here I need to Migrate the Postgres DB of jira which is in AWS Ec2 instance  to AWS RDS db 

Can you please suggest me how to achieved this 

 

Thanks,

Kumar

Hi @Kumar 

Do you resolved this? Any idea what is the capacity you have used here and completed the migration?

@Kavirajacholan Selvaraj  I resolved this i have sucessfully migrated the postgres DB  to AWS RDS postgres

Here are the steps to follow:

  1. Login to Jira  server application  Database by using the below command

    psql -U postgres   
      or 
    su - pgsql / postgres
  2. Create the " dump " file of the application db by using the Below command. 
       pg_dump  (dbname)  >  (dbname.dump)

  3. It Will store the dump file in  this location " /var/lib/postgres/  ".
  4. After that try toexport the dump file to AWS RDS DB  by running the below command.

     " psql -h <endpoint> -U <username> -e <dbname>  <  <dumpfile name> "

    // endpoint : RDS instance "Host name / endpoint ".
    // username :  RDS DB user name
    // dbnmae : RDS created dbname
    // dumpfilename:  that you created a dumpfile that application which is using.

    the original command looks like this "psql -h jiracc.xxx.xxx.amazonaws.com -U "RDS User name" -e "rdsdbname" < db.dump

    after run this command it will Export the all the DB data to RDS db

  5. Before run the above command you have to create a "Database and user"  and that user must be a superuser in that "AWS RDS instance".
  6. After Exporting Modify the Jira application "dbconfig.xml" file.

    Before Modifying the dbconfig.xml file

         <url>jdbc:postgresql:5432/jira</url> 

    and

          <username>username</username> -→ DB username

    and 

          <password>XYZ</password> -→ password 



    After Modifying the dbconfig.xml file
  7.     <url>jdbc:postgresql://jira.XXX.xus-amazonaws.com:5432/jirad</url>

    and

         <username>username</username> -→ DB username

    and 

          <password>XYZ</password> -→ password

     

  8. After Modifying Stop/Start the  Jira application.

Thank you @Kumar While migrating Confluence do you see any 14+ hours to restore the backup?

We are targetting datacenter server to AWS. Jira is on Windows with MSSQL. Now I am migrating it to Linux with Postgresql.

Jira migration is sucessfull in 45 minutes. But Confluence taking 14+ hours after increasing Heap size its 7 hours.

Any idea how to overcome from this timeline?

Hi @Kavirajacholan Selvaraj  sorry for late reply 

I have migrated Jira only we are not using confluence  and we are using jira Server.

 

Thanks,

Kumar

@Kumar Have you used EFS for attachments while migrating to Jira? When I did xml backup import in new server.

I changed the BaseURL

Now I am not able to configure Attachments, Application links, Avatars, Logs. Any idea how you achieved that?

Please advise.

Hi @Kavirajacholan Selvaraj  i have not used any EFS I directly Dumped the Old db into New RDS db 

I have followed the AWS documentation

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL.Procedural.Importing.html

 

Thanks,

Kumar

Thank you @Kumar Do you configured SSO and faced any issues like this? 

"You must set a valid base URL."

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

225 views 1 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you