# Jenkins Upgrade/Migration

**URL:** <https://community.jenkins.io/t/jenkins-upgrade-migration/4304>\
**Category:** Ask a question\
**Created:** [October 26, 2022, 12:54am UTC](https://community.jenkins.io/t/jenkins-upgrade-migration/4304 "2022-10-26T00:54:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasanthareddypvl](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@vasanthareddypvl](https://community.jenkins.io/u/vasanthareddypvl)\
**Post date:** [October 26, 2022, 12:54am UTC](https://community.jenkins.io/t/jenkins-upgrade-migration/4304/1 "2022-10-26T00:54:27Z")

</div>

Hi Community members,  
We are planning to upgrade/migrate our Jenkins instance and would like to know details about the best approach to go this smooth.  
Current version of Jenkins: version 2.263.3  
Platform: Amazon Linux  
Java version on the server: java version “1.8.0\_162”

Here we are planning to spin up the new Amazon linux EC2 and install latest LTS version and then need to migrate all the jobs over from old instance to new instance.

Can someone please provide the best approach to perform this activity successful. We wanted to migrate all the jobs and need to keep all the plugins as it is without losing the configurations inside the jobs.

Thank you,  
Vasantha

---

<div class="post-metadata">

**Author:** ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)\
**Post date:** [October 26, 2022, 7:22am UTC](https://community.jenkins.io/t/jenkins-upgrade-migration/4304/2 "2022-10-26T07:22:46Z")

</div>

Hello @vasanthareddypvl and welcome to this community 👋 .

Are you using [Jcasc](https://www.jenkins.io/projects/jcasc/) and [Job DSL](https://plugins.jenkins.io/job-dsl/)?

---

<div class="post-metadata">

**Author:** ![dduportal](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/dduportal/32/18_2.png) [@dduportal](https://community.jenkins.io/u/dduportal)\
**Post date:** [October 26, 2022, 10:38am UTC](https://community.jenkins.io/t/jenkins-upgrade-migration/4304/3 "2022-10-26T10:38:14Z")

</div>

> [@vasanthareddypvl](#):
>
> and install latest LTS version

Please note that you must use a JDK11 for latest LTS (as per [Jenkins requires Java 11 or newer](https://www.jenkins.io/blog/2022/06/28/require-java-11/)).

For guidance, the official Jenkins Docker Image is using (when writing these lines) the JDK “Eclipse Temurin” from [Adoptium](https://adoptium.net/temurin/releases?version=11) version 11.0.16.1\_1 (as per [https://github.com/jenkinsci/docker/blob/95876b1697ef583ec8c14589ae9afafba4699aa0/11/debian/bullseye/hotspot/Dockerfile#L1](https://github.com/jenkinsci/docker/blob/95876b1697ef583ec8c14589ae9afafba4699aa0/11/debian/bullseye/hotspot/Dockerfile#L1)).
