In this course, we’ll provide you with an introduction to AWS Cloud9, a cloud-based IDE, used for writing and debugging code right within your browser. We’ll show you how AWS Cloud9 can be used to edit and debug your source code. This course will familiarize you with the AWS Cloud9 service and ensure you know when and where to use it within your own software projects. We'll then provide a demonstration where we use AWS Cloud9 to edit and update our web portal project source code, invoking our build and deploy pipeline.
The AWS Cloud9 IDE incorporates an ability to perform collaboration and peer programming in real time. You can share your Cloud9 environment with other team members, controlling their access with either read or read/write permissions. The joining user, if given full read/write permissions into your Cloud9 project, will be able to edit and update the currently opened file at the same time that you or any other team members are also editing. All edits takes place in near real-time and are available to everyone in their own Cloud9 browser session, regardless of which user is making them. Additionally, a group chat capability is provided directly within the IDE to allow you and your team members to discuss edits and updates, et cetera. Membership into your Cloud9 environment is controlled through the use of IAM user accounts. That is each member you would like to share your environment with must have an associated IAM user account. They will need to log into their AWS console of their respective credentials and then access the shared Cloud9 URL that they will be given.
Within the Cloud9 IDE, you have direct access to a terminal session, embedded right within the IDE itself. The terminal gives you full sudo access, allowing you to perform any commands as if you were SSH'd into the underlying instance or server itself. Having the immediate terminal access from within the Cloud9 IDE makes it fast and productive, particularly so when the AWS CLI is already installed and has temporary credentials available to it, meaning you can perform queries and updates to any of the AWS services through the AWS CLI within the Cloud9 IDE.
AWS Cloud9 provides direct integration features with AWS Lambda. If you're building serverless applications using AWS Lambda, then Cloud9 can be used to code, debug, and deploy your functions right within the IDE itself. Additionally, Cloud9 allows you to edit your lambda functions and debug them locally, increasing productivity. This reduces the number of deployment cycles required and speeds up the development process.
The Cloud9 IDE maintains an internal file revision history, allowing me to playback the edits that have taken place over time for the currently opened source code file. This feature allows you to revert back to a particular revision, kind of like Control + Z or Undo on steroids. Creating a new Cloud9 IDE environment is quick and easy. The fastest approach is to give your new environment a name, choose the EC2 environment type, and then select the EC2 instance type. Nine out of 10 times, the selected default settings will be more than adequate for the development that you undertake. Okay, that completes this introduction lecture on the AWS Cloud9 series. Go ahead and close this lecture and we'll see you shortly in the next one.
Jeremy is a Content Lead Architect and DevOps SME here at Cloud Academy where he specializes in developing DevOps technical training documentation.
He has a strong background in software engineering, and has been coding with various languages, frameworks, and systems for the past 25+ years. In recent times, Jeremy has been focused on DevOps, Cloud (AWS, GCP, Azure), Security, Kubernetes, and Machine Learning.
Jeremy holds professional certifications for AWS, GCP, and Kubernetes.