{"_id":"5bb4f59bf4c98f000355d12a","project":"54cf411f9d09bb0d00a17a1c","version":{"_id":"54cf411f9d09bb0d00a17a1f","project":"54cf411f9d09bb0d00a17a1c","__v":16,"createdAt":"2015-02-02T09:19:27.656Z","releaseDate":"2015-02-02T09:19:27.656Z","categories":["54cf41209d09bb0d00a17a20","54cfb99bbba1a023008741af","54cfb9a65ff7e617002bbd7f","54cfba03bba1a023008741b6","54cfba0ebba1a023008741b8","54cfba19bba1a023008741b9","54cfba29bba1a023008741bb","54cfba345ff7e617002bbd87","54cfba3ebba1a023008741bc","54cfba473995cf0d0006f6f0","54e371b18ef7552300409bf2","54e37aa5e887c50d005ef629","555a4e9b147f91190092d137","56b0e91802f4bc0d006ce254","5bb4f4e01635b500032b94fd","5c05a785ceb5b80220cf0e93"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5bb4f4e01635b500032b94fd","project":"54cf411f9d09bb0d00a17a1c","version":"54cf411f9d09bb0d00a17a1f","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2018-10-03T16:57:04.619Z","from_sync":false,"order":7,"slug":"migrating","title":"Migrating Your Workspace"},"user":"5bac0709475b5d000364fa42","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-10-03T17:00:11.479Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"As we previously [announced](https://c9.io/announcement), [AWS Cloud9](https://aws.amazon.com/cloud9/) is now available. AWS Cloud9 is the successor to Cloud9 and provides deep integration with [Amazon Web Services (AWS)](https://aws.amazon.com/what-is-aws/). For more information about AWS Cloud9, see [What Is AWS Cloud9](https://docs.aws.amazon.com/cloud9/latest/user-guide/welcome.html) in the *AWS Cloud9 User Guide*.\n\nIn this topic, we describe how to move your existing Cloud9 workspace over to a new AWS Cloud9 development environment. \n\n:exclamation: If you'd rather move your existing Cloud9 online workspace to your local desktop or laptop computer and work with it offline from there, instead of using AWS Cloud9, **stop now** and skip over to [Migrating to Your Local Computer](migrating-to-cloud9-offline) for alternate instructions instead.\n\n:exclamation: If you created a Cloud9 workspace to use specifically with Harvard University's [CS50: Introduction to Computer Science](https://www.edx.org/course/cs50s-introduction-computer-science-harvardx-cs50x) course, or if you created a Cloud9 workspace that's based on the **Harvard's CS50** workspace template, **stop now** and skip over to [Migrating a CS50 Workspace](migrating-a-cs50-workspace) for alternate instructions instead.\n\n:information-source: For questions and help as you go through this topic, see the question mark (:question:) icon at the bottom of this page for contacts and related resources.\n\nLet's get started!\n\n* [Step 1. Download folders, files, and data from your workspace](migration-checklist#section-step-1-download-folders-files-and-data-from-your-workspace)\n* [Step 2. Create an AWS Cloud9 development environment](migration-checklist#section-step-2-create-an-aws-cloud9-development-environment)\n* [Step 3. Install an app framework in your new environment](migration-checklist#section-step-3-install-an-app-framework-in-your-new-environment)\n* [Step 4. Upload folders and files to your new environment](migration-checklist#section-step-4-upload-folders-and-files-to-your-new-environment)\n* [Step 5. Install a database in your new environment](migration-checklist#section-step-5-install-a-database-in-your-new-environment)\n* [Step 6. Import data into a database in your new environment](migration-checklist#section-step-6-import-data-into-a-database-in-your-new-environment)\n* [Next steps](migration-checklist#section-next-steps)\n\n# Step 1. Download folders, files, and data from your workspace\n\nIn your existing Cloud9 workspace, you might have some combination of folders, files, data in databases, and content in app frameworks (such as WordPress) that you want to continue using in AWS Cloud9. \n\n:exclamation: If you're migrating a [Cloud9 SSH workspace](https://docs.c9.io/docs/running-your-own-ssh-workspace), you don't need to download anything. Instead, skip ahead to [Step 2. Create an AWS Cloud9 development environment](migration-checklist#section-step-2-create-an-aws-cloud9-development-environment).\n\nComplete one or more of the following sets of instructions to get your folders, files, and data out of your workspace and onto your local computer, or into a cloud-based storage location such as GitHub:\n\n* [Downloading Folders and Files to Your Computer](doc:downloading-files-to-your-computer) \n* [Uploading Folders and Files to a Source Code Repository](doc:uploading-files-to-a-source-code-repository) \n* [Downloading Data from a Database](doc:downloading-data-from-a-database) \n* [Downloading App Framework Content](doc:downloading-app-framework-content)\n\nFor example, the following figures show how easy it is to download all of the files, a single folder, or a single file from your Cloud9 workspace to your local computer, respectively. \n \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/798abdd-ide-download-project.png\",\n        \"ide-download-project.png\",\n        307,\n        337,\n        \"#5a8fd3\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/214530f-ide-download-folder.png\",\n        \"ide-download-folder.png\",\n        276,\n        203,\n        \"#5b7cae\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/3c00ad3-ide-download-file.png\",\n        \"ide-download-file.png\",\n        283,\n        287,\n        \"#ae504b\"\n      ]\n    }\n  ]\n}\n[/block]\n# Step 2. Create an AWS Cloud9 development environment\n\nIf you are migrating a [Cloud9 SSH workspace](https://docs.c9.io/docs/running-your-own-ssh-workspace), you'll create an [AWS Cloud9 SSH development environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html#create-environment-ssh). This connects AWS Cloud9 to your existing server. \n\nIf you are **not** migrating a [Cloud9 SSH workspace](https://docs.c9.io/docs/running-your-own-ssh-workspace), you'll create an [AWS Cloud9 EC2 development environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html#create-environment-main). In later steps, you'll upload your folders, files, and data into this new EC2 environment. \n\n1. Create an AWS account and then sign in to the AWS Cloud9 console as follows: \n    a. If you are a student, follow the instructions in [Individual Student Setup](https://docs.aws.amazon.com/cloud9/latest/user-guide/setup-student.html) in the *AWS Cloud9 User Guide*, and then return to this step. (To learn about who qualifies as a student, see [Who can join AWS Educate](https://www.awseducate.com/faqs#fa0Po00000043dVcEAI) on the *AWS Educate Frequently Asked Questions* website.) \n    b. If you are **not** a student, follow the instructions in [Individual User Setup](https://docs.aws.amazon.com/cloud9/latest/user-guide/setup-express.html) in the *AWS Cloud9 User Guide*, and then return to this step. (For other setup scenarios such as for enterprise organizations, small teams, and virtual classrooms, see [Getting Started](https://docs.aws.amazon.com/cloud9/latest/user-guide/get-started.html) in the *AWS Cloud9 User Guide*.)\n2. After you sign in to the AWS Cloud9 console, choose **Create environment**, and then follow the on-screen instructions to either [create an EC2 environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html#create-environment-main) or [create an SSH environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html#create-environment-ssh).\n\n:exclamation: Cloud9 workspaces typically use Ubuntu Server. However, AWS Cloud9 development EC2 environments currently use Amazon Linux only. This means that certain things that you're used to in Ubuntu Server (for example, commands such as `apt-get`) won't work as expected in EC2 environments; you must use their Amazon Linux equivalents (for example, commands such as `yum`) in EC2 environments instead. If you want to use Ubuntu Server in AWS Cloud9, we recommend that you [create an SSH environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html#create-environment-ssh) instead.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/dce5cbe-console-welcome-new-env.png\",\n        \"console-welcome-new-env.png\",\n        415,\n        238,\n        \"#202938\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/06e05c4-console-new-env.png\",\n        \"console-new-env.png\",\n        653,\n        56,\n        \"#ea6a21\"\n      ]\n    }\n  ]\n}\n[/block]\n:exclamation: If you are migrating a [Cloud9 SSH workspace](https://docs.c9.io/docs/running-your-own-ssh-workspace), you can stop after you create your AWS Cloud9 SSH environment, and skip ahead to [Next steps](migration-checklist#section-next-steps).\n\nFor more information, see in the *AWS Cloud9 User Guide*:\n\n* [Getting Started](https://docs.aws.amazon.com/cloud9/latest/user-guide/get-started.html)\n* [Working with Environments](https://docs.aws.amazon.com/cloud9/latest/user-guide/environments.html)\n* [Creating an Environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html) \n\n# Step 3. Install an app framework in your new environment\n\nIf you had an app framework (such as WordPress) in your Cloud9 workspace, [install that app framework in your new AWS Cloud9 development environment](installing-an-app-framework).\n\n# Step 4. Upload folders and files to your new environment\n\nComplete one or both of the following sets of instructions to get your downloaded folders and files into your new AWS Cloud9 development environment: \n\n* [Uploading Files from Your Computer](uploading-files-from-your-computer)\n* [Downloading Files from a Source Code Repository](downloading-files-from-a-source-code-repository)\n\nFor example, the following figure shows you how easy it is to upload files from your local computer into your new environment.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/c9aaf1e-ide-upload-file.png\",\n        \"ide-upload-file.png\",\n        816,\n        693,\n        \"#e7e7e4\"\n      ]\n    }\n  ]\n}\n[/block]\n:information-source: You can also drag files from your local computer's file browser directly into any existing folder in the **Environment** window of the AWS Cloud9 IDE.\n\n# Step 5. Install a database in your new environment\n\nIf you have a database in your Cloud9 workspace, [install that database in your new AWS Cloud9 development environment](installing-a-database).\n\n# Step 6. Import data into a database in your new environment\n\nIf you have a database in your Cloud9 workspace, and you've already uploaded data from that database into your new development environment, [import that data into the database in your new AWS Cloud9 development environment](uploading-data-to-a-database).\n\n# Next steps\n\nYou should now have a new AWS Cloud9 development environment with a combination of folders, files, databases, and app frameworks in it. To learn more about how to use your new AWS Cloud9 environment, see the following topics in the *AWS Cloud9 User Guide*:\n\n* [IDE Tutorial](https://docs.aws.amazon.com/cloud9/latest/user-guide/tutorial.html)\n* [AWS Lambda Tutorial](https://docs.aws.amazon.com/cloud9/latest/user-guide/tutorial-lambda.html)\n* [Samples](https://docs.aws.amazon.com/cloud9/latest/user-guide/samples.html)\n\n-----\n\n:question: If you have questions or need help migrating:\n\n* **For Cloud9 questions and help**, go to the [Cloud9 Community](https://community.c9.io/) website or email [support:::at:::c9.io](mailto:support@c9.io).\n* **For AWS Cloud9 questions and help**, go to the [AWS Developer Forums for AWS Cloud9](https://forums.aws.amazon.com/forum.jspa?forumID=268) website (access requires an AWS account), or [contact us](https://aws.amazon.com/contact-us/) directly.\n\n------\n\n:information-source: The information in this topic (and related topics) contain several links to content that's outside of the Cloud9 and AWS websites. We provide these links for information only. You should not consider them a comprehensive list or an endorsement of the content. We are not responsible for the external content or its accuracy.","excerpt":"","slug":"migration-checklist","type":"basic","title":"Migrating to AWS Cloud9"}

Migrating to AWS Cloud9


As we previously [announced](https://c9.io/announcement), [AWS Cloud9](https://aws.amazon.com/cloud9/) is now available. AWS Cloud9 is the successor to Cloud9 and provides deep integration with [Amazon Web Services (AWS)](https://aws.amazon.com/what-is-aws/). For more information about AWS Cloud9, see [What Is AWS Cloud9](https://docs.aws.amazon.com/cloud9/latest/user-guide/welcome.html) in the *AWS Cloud9 User Guide*. In this topic, we describe how to move your existing Cloud9 workspace over to a new AWS Cloud9 development environment. :exclamation: If you'd rather move your existing Cloud9 online workspace to your local desktop or laptop computer and work with it offline from there, instead of using AWS Cloud9, **stop now** and skip over to [Migrating to Your Local Computer](migrating-to-cloud9-offline) for alternate instructions instead. :exclamation: If you created a Cloud9 workspace to use specifically with Harvard University's [CS50: Introduction to Computer Science](https://www.edx.org/course/cs50s-introduction-computer-science-harvardx-cs50x) course, or if you created a Cloud9 workspace that's based on the **Harvard's CS50** workspace template, **stop now** and skip over to [Migrating a CS50 Workspace](migrating-a-cs50-workspace) for alternate instructions instead. :information-source: For questions and help as you go through this topic, see the question mark (:question:) icon at the bottom of this page for contacts and related resources. Let's get started! * [Step 1. Download folders, files, and data from your workspace](migration-checklist#section-step-1-download-folders-files-and-data-from-your-workspace) * [Step 2. Create an AWS Cloud9 development environment](migration-checklist#section-step-2-create-an-aws-cloud9-development-environment) * [Step 3. Install an app framework in your new environment](migration-checklist#section-step-3-install-an-app-framework-in-your-new-environment) * [Step 4. Upload folders and files to your new environment](migration-checklist#section-step-4-upload-folders-and-files-to-your-new-environment) * [Step 5. Install a database in your new environment](migration-checklist#section-step-5-install-a-database-in-your-new-environment) * [Step 6. Import data into a database in your new environment](migration-checklist#section-step-6-import-data-into-a-database-in-your-new-environment) * [Next steps](migration-checklist#section-next-steps) # Step 1. Download folders, files, and data from your workspace In your existing Cloud9 workspace, you might have some combination of folders, files, data in databases, and content in app frameworks (such as WordPress) that you want to continue using in AWS Cloud9. :exclamation: If you're migrating a [Cloud9 SSH workspace](https://docs.c9.io/docs/running-your-own-ssh-workspace), you don't need to download anything. Instead, skip ahead to [Step 2. Create an AWS Cloud9 development environment](migration-checklist#section-step-2-create-an-aws-cloud9-development-environment). Complete one or more of the following sets of instructions to get your folders, files, and data out of your workspace and onto your local computer, or into a cloud-based storage location such as GitHub: * [Downloading Folders and Files to Your Computer](doc:downloading-files-to-your-computer) * [Uploading Folders and Files to a Source Code Repository](doc:uploading-files-to-a-source-code-repository) * [Downloading Data from a Database](doc:downloading-data-from-a-database) * [Downloading App Framework Content](doc:downloading-app-framework-content) For example, the following figures show how easy it is to download all of the files, a single folder, or a single file from your Cloud9 workspace to your local computer, respectively. [block:image] { "images": [ { "image": [ "https://files.readme.io/798abdd-ide-download-project.png", "ide-download-project.png", 307, 337, "#5a8fd3" ] } ] } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/214530f-ide-download-folder.png", "ide-download-folder.png", 276, 203, "#5b7cae" ] } ] } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/3c00ad3-ide-download-file.png", "ide-download-file.png", 283, 287, "#ae504b" ] } ] } [/block] # Step 2. Create an AWS Cloud9 development environment If you are migrating a [Cloud9 SSH workspace](https://docs.c9.io/docs/running-your-own-ssh-workspace), you'll create an [AWS Cloud9 SSH development environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html#create-environment-ssh). This connects AWS Cloud9 to your existing server. If you are **not** migrating a [Cloud9 SSH workspace](https://docs.c9.io/docs/running-your-own-ssh-workspace), you'll create an [AWS Cloud9 EC2 development environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html#create-environment-main). In later steps, you'll upload your folders, files, and data into this new EC2 environment. 1. Create an AWS account and then sign in to the AWS Cloud9 console as follows: a. If you are a student, follow the instructions in [Individual Student Setup](https://docs.aws.amazon.com/cloud9/latest/user-guide/setup-student.html) in the *AWS Cloud9 User Guide*, and then return to this step. (To learn about who qualifies as a student, see [Who can join AWS Educate](https://www.awseducate.com/faqs#fa0Po00000043dVcEAI) on the *AWS Educate Frequently Asked Questions* website.) b. If you are **not** a student, follow the instructions in [Individual User Setup](https://docs.aws.amazon.com/cloud9/latest/user-guide/setup-express.html) in the *AWS Cloud9 User Guide*, and then return to this step. (For other setup scenarios such as for enterprise organizations, small teams, and virtual classrooms, see [Getting Started](https://docs.aws.amazon.com/cloud9/latest/user-guide/get-started.html) in the *AWS Cloud9 User Guide*.) 2. After you sign in to the AWS Cloud9 console, choose **Create environment**, and then follow the on-screen instructions to either [create an EC2 environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html#create-environment-main) or [create an SSH environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html#create-environment-ssh). :exclamation: Cloud9 workspaces typically use Ubuntu Server. However, AWS Cloud9 development EC2 environments currently use Amazon Linux only. This means that certain things that you're used to in Ubuntu Server (for example, commands such as `apt-get`) won't work as expected in EC2 environments; you must use their Amazon Linux equivalents (for example, commands such as `yum`) in EC2 environments instead. If you want to use Ubuntu Server in AWS Cloud9, we recommend that you [create an SSH environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html#create-environment-ssh) instead. [block:image] { "images": [ { "image": [ "https://files.readme.io/dce5cbe-console-welcome-new-env.png", "console-welcome-new-env.png", 415, 238, "#202938" ] } ] } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/06e05c4-console-new-env.png", "console-new-env.png", 653, 56, "#ea6a21" ] } ] } [/block] :exclamation: If you are migrating a [Cloud9 SSH workspace](https://docs.c9.io/docs/running-your-own-ssh-workspace), you can stop after you create your AWS Cloud9 SSH environment, and skip ahead to [Next steps](migration-checklist#section-next-steps). For more information, see in the *AWS Cloud9 User Guide*: * [Getting Started](https://docs.aws.amazon.com/cloud9/latest/user-guide/get-started.html) * [Working with Environments](https://docs.aws.amazon.com/cloud9/latest/user-guide/environments.html) * [Creating an Environment](https://docs.aws.amazon.com/cloud9/latest/user-guide/create-environment.html) # Step 3. Install an app framework in your new environment If you had an app framework (such as WordPress) in your Cloud9 workspace, [install that app framework in your new AWS Cloud9 development environment](installing-an-app-framework). # Step 4. Upload folders and files to your new environment Complete one or both of the following sets of instructions to get your downloaded folders and files into your new AWS Cloud9 development environment: * [Uploading Files from Your Computer](uploading-files-from-your-computer) * [Downloading Files from a Source Code Repository](downloading-files-from-a-source-code-repository) For example, the following figure shows you how easy it is to upload files from your local computer into your new environment. [block:image] { "images": [ { "image": [ "https://files.readme.io/c9aaf1e-ide-upload-file.png", "ide-upload-file.png", 816, 693, "#e7e7e4" ] } ] } [/block] :information-source: You can also drag files from your local computer's file browser directly into any existing folder in the **Environment** window of the AWS Cloud9 IDE. # Step 5. Install a database in your new environment If you have a database in your Cloud9 workspace, [install that database in your new AWS Cloud9 development environment](installing-a-database). # Step 6. Import data into a database in your new environment If you have a database in your Cloud9 workspace, and you've already uploaded data from that database into your new development environment, [import that data into the database in your new AWS Cloud9 development environment](uploading-data-to-a-database). # Next steps You should now have a new AWS Cloud9 development environment with a combination of folders, files, databases, and app frameworks in it. To learn more about how to use your new AWS Cloud9 environment, see the following topics in the *AWS Cloud9 User Guide*: * [IDE Tutorial](https://docs.aws.amazon.com/cloud9/latest/user-guide/tutorial.html) * [AWS Lambda Tutorial](https://docs.aws.amazon.com/cloud9/latest/user-guide/tutorial-lambda.html) * [Samples](https://docs.aws.amazon.com/cloud9/latest/user-guide/samples.html) ----- :question: If you have questions or need help migrating: * **For Cloud9 questions and help**, go to the [Cloud9 Community](https://community.c9.io/) website or email [support@c9.io](mailto:support@c9.io). * **For AWS Cloud9 questions and help**, go to the [AWS Developer Forums for AWS Cloud9](https://forums.aws.amazon.com/forum.jspa?forumID=268) website (access requires an AWS account), or [contact us](https://aws.amazon.com/contact-us/) directly. ------ :information-source: The information in this topic (and related topics) contain several links to content that's outside of the Cloud9 and AWS websites. We provide these links for information only. You should not consider them a comprehensive list or an endorsement of the content. We are not responsible for the external content or its accuracy.