AWS Cloud9 | Cloud IDE | Concept | Environment Setup | @Cloud4DevOps
Summary
TLDRIn this informative video, the host explores AWS Cloud9, a cloud-based integrated development environment (IDE) that enables users to write, run, and debug code directly from a browser. Highlighting its ease of use, the host demonstrates how Cloud9 comes pre-packaged with essential tools for popular programming languages and offers a seamless experience for developing serverless applications. The video also covers the cost implications of running Cloud9 on high-end EC2 instances and provides a step-by-step guide on setting up the environment, showcasing its features like real-time collaboration and direct terminal access to AWS services.
Takeaways
- 🌐 AWS Cloud9 is a cloud-based Integrated Development Environment (IDE) provided by Amazon Web Services (AWS).
- 💻 It allows for writing, running, and debugging code directly in the browser, eliminating the need for local IDE installations.
- 🔧 Cloud9 is particularly powerful for AWS application development, offering seamless integration with AWS services.
- 💡 There is a cost associated with running Cloud9, which depends on the EC2 instance size and usage, so developers should be mindful of their resource allocation.
- 🛠️ Cloud9 comes pre-packaged with essential tools for popular programming languages like JavaScript, Python, PHP, etc., reducing setup time.
- 🏢 It supports working on projects from any location with an internet connection, making it a flexible option for remote work.
- 🔒 Cloud9 provides secure access to development environments and allows for easy sharing with team members in a secure manner.
- 🤝 It enables real-time collaboration, allowing multiple developers to work together on the same codebase simultaneously.
- 🚀 Cloud9 offers direct terminal access to AWS, simplifying interactions with AWS services without the need for manual AWS CLI configuration.
- 🔄 The environment can be quickly set up and torn down, which is cost-effective and efficient for developers who don't need a permanent setup.
- 🔍 The script provides a step-by-step guide on how to provision a Cloud9 environment, including selecting instance types and configuring network settings.
Q & A
What is AWS Cloud9?
-AWS Cloud9 is a cloud-based integrated development environment (IDE) provided by Amazon Web Services for writing, running, and debugging code.
Why would someone choose AWS Cloud9 over other IDEs like VS Code or Visual Studio?
-AWS Cloud9 is particularly powerful for AWS-based development, offering seamless integration with AWS services and the ability to work on projects from anywhere with an internet connection.
What are the costs associated with using AWS Cloud9?
-The cost of using AWS Cloud9 depends on the EC2 instance size you provision for the Cloud9 environment. Higher-end instances will incur higher costs.
What pre-packaged tools does Cloud9 come with for popular programming languages?
-Cloud9 comes pre-packaged with essential tools for programming languages such as JavaScript, Python, PHP, and more, eliminating the need for developers to install specific packages.
How does Cloud9 facilitate serverless application development?
-Cloud9 provides a seamless experience for developing serverless applications by enabling easy definition of resources, debugging, and switching between local and remote execution.
What is the advantage of Cloud9's browser-based environment for developers?
-The browser-based environment of Cloud9 allows developers to work on their projects from anywhere, as long as they have an internet-connected machine, without needing to install any software locally.
How does Cloud9 handle security when sharing development environments with a team?
-Cloud9 allows developers to share their development environment with their team in a secure manner over the internet, enabling real-time collaboration and code sharing without the need for VPNs or internal networks.
What is the benefit of using Cloud9's built-in terminal with pre-configured AWS CLI?
-The built-in terminal with pre-configured AWS CLI in Cloud9 allows developers to interact with AWS services directly without the need to configure access keys, secret keys, or regions manually.
How quickly can a new project be started in Cloud9?
-Starting a new project in Cloud9 is very fast due to its cloud-based nature and pre-configured environment, allowing developers to begin work immediately without setup delays.
What happens when a Cloud9 environment is inactive for an extended period?
-If a Cloud9 environment is inactive for 30 minutes, it will automatically shut down to save costs, as there is no need to keep the environment running when not in use.
How can a developer customize their Cloud9 environment?
-Developers can customize their Cloud9 environment through preferences, including changing themes, enabling code completion for various programming languages, and configuring terminal settings.
Outlines
😀 Introduction to AWS Cloud9 IDE
The video script introduces AWS Cloud9, a cloud-based Integrated Development Environment (IDE) provided by Amazon Web Services (AWS). It is designed for writing, running, and debugging code, and is particularly beneficial for application development and script writing. The script emphasizes that while Cloud9 is not the only IDE available, it offers unique advantages when used in conjunction with AWS services. It also mentions the cost implications of running high-end EC2 instances to support the Cloud9 environment. The speaker outlines the features of Cloud9, including its browser-based accessibility, pre-packaged tools for popular programming languages, and the ability to work from anywhere with an internet connection. Additionally, the script touches on the ease of sharing development environments with teams, real-time collaborative coding, and direct terminal access to AWS services.
🛠️ Setting Up and Understanding AWS Cloud9 Environment
This paragraph delves into the process of setting up an AWS Cloud9 environment. It begins with navigating to the AWS Cloud9 service and understanding its introduction page. The script explains the creation of a new environment, including naming it, selecting an instance type, and choosing a platform. It highlights the importance of setting a timeout for inactivity to save costs and discusses network settings, including the selection of a VPC and subnet. The speaker also explains the creation of an EC2 instance through a CloudFormation template triggered in the background, which includes user data and settings for the Cloud9 environment. The paragraph concludes with accessing an existing Cloud9 environment and demonstrating the built-in terminal and AWS CLI capabilities.
📁 Exploring Features and Preferences in AWS Cloud9
The final paragraph of the script explores the features and preferences available within the AWS Cloud9 environment. It discusses the ability to perform operations like creating and uploading files, cloning GitHub repositories, and the availability of a dark theme and default keyboard settings. The speaker then navigates through the preferences menu, highlighting the support for various programming languages and the AWS toolkit. The paragraph also covers the settings for the terminal, themes, AWS settings including managed temporary credentials, and experimental features. The script emphasizes the rich editor capabilities, support for Git, and the ease of cloning repositories. It concludes with an invitation for viewers to explore Cloud9 further, delete it if not needed, or propose its use to management for AWS-related development work.
Mindmap
Keywords
💡AWS Cloud9
💡Integrated Development Environment (IDE)
💡EC2 Instance
💡Pre-packaged Environment
💡Serverless Application
💡AWS CLI
💡Real-time Collaboration
💡Temporary Access Key
💡CloudFormation
💡Git Support
💡Security
Highlights
Introduction to AWS Cloud9 as a cloud-based IDE for writing, running, and debugging code.
Explanation of the Integrated Development Environment (IDE) and its uses in application development and scripting.
The cost implication of running high-end EC2 instances for the Cloud9 environment.
Provisioning of Cloud9 and the pre-packaged extensions that come with the environment.
Cloud9's browser-based IDE capabilities, including a code editor, debugger, and terminal.
Pre-packaged support for popular programming languages like JavaScript, Python, PHP, and more.
The convenience of Cloud9's cloud-based nature, allowing work from anywhere with an internet connection.
Security measures in accessing Cloud9 and the ease of sharing the development environment with a team.
Real-time code collaboration features of Cloud9 for pair programming and team input tracking.
Direct terminal access to AWS services without the need for configuring access keys and regions.
Quick project setup in Cloud9 due to its internet-based environment and pre-configured settings.
Demonstration of how to provision a Cloud9 environment through the AWS Management Console.
The creation process of a Cloud9 environment and its connection to an EC2 instance via SSH.
Options for instance types and platforms (Amazon Linux and Ubuntu) when setting up Cloud9.
The importance of setting a timeout for Cloud9 environments to save costs when not in use.
Network settings and the selection of VPC and subnet for Cloud9 configuration.
The use of CloudFormation templates in the background when creating a Cloud9 environment.
Access to the Cloud9 environment and its features such as the built-in terminal and AWS CLI.
Preferences and settings available in Cloud9 for customization according to developer needs.
Support for different programming languages and AWS toolkit integration within Cloud9.
Git support and the ability to clone GitHub repositories directly in Cloud9.
Encouragement to explore Cloud9, understand its benefits, and consider its use in AWS development workflows.
Transcripts
hey everyone welcome to my channel I
hope everybody is doing well and safe so
in today's video we will discuss about
AWS Cloud9 it's a cloud-based IDE
provided by AWS for writing running and
debugging your code
now ID is an integrated development
environment where you basically write up
your code run your code and debug your
code when you are doing the application
development you can also do same for
writing the scripts as well now I'm not
saying that you have to use Cloud9 it's
better you understand what Cloud9 brings
with right all the functionalities how
Cloud9 is powerful when it comes to AWS
right so you can obviously go for vs
code Visual Studio or any other ID which
you're working with but with AWS Cloud9
one one of the thing that I understand
is like you have to bear a cost if
you're running very high end ec2
instance because in order to run Cloud9
environment
there is a instance that needs to be
running in the back end for you so you
have to bear a cost for that particular
instance depend upon the size of
instance that you are provisioning how
much you are doing your development on
this ID so let's understand this and
I'll show you how you can provision
Cloud9 and what all extension as a
pre-package come with Cloud9 environment
so Cloud9 as I said cloud-based ID that
lets you to write run and debug your
code with a browser it's a browser-based
environment it's not something a
software that you install on your
machine like vs code and start doing
your development it includes code editor
debugger terminal Cloud9 comes
pre-packaged with essential tools for
popular programming languages including
JavaScript python PHP and more so you
basically don't have to worry about you
know
installing specific packages so it comes
with lot of pre-packaged environment
which a developer can interact with so
you don't need to install a files or
configure your development machine to
start a new project because it's all
pre-packaged since your Cloud9 is a
cloud-based ID you can work on your
projects from Office home or anywhere
using the internet connected machine so
that's one of the good part of Cloud9 it
can be accessed anywhere but obviously
with a security manner right a secure
manner Cloud9 also provides a seamless
experience for developing serverless
application enabling you to easily
Define the resources debug and switch
between the local and remote execution
for serverless application so in short I
would say this gives you much more
benefit
when it when you are interacting with
AWS services or when you are developing
an application but as you know like
Cloud within Cloud you can interact you
can transfer the files you can transfer
your code within a matter of seconds for
example if you're working on a vs code
right you are developing your
application as an example I'm just
trying to tell you the difference
now in order to share that particular
package to a different team you have to
make certain sort of connections like
you're on a different network and you
are sharing on a different network so
you need to be on VPN or internal
Network in order to make sure everything
is secure with Cloud9 it's a matter of
second where you can share your package
itself on internet but in a secure
manner so that's very easy
with Cloud9 you can share the
development environment with your team
enabling you to pair program and track
each other's input in a real time what
are the benefits comes with Cloud9 it's
a browser based right real-time code you
can
together you can do a code with
different team members in a real time we
we can build a serverless application
with ease direct terminal access to AWS
so you don't have to configure access
key and secret key and region so you can
directly once you have the Cloud9
environment up and running you can
interact with AWS Services because it
comes with a temporary access scan
secret give the token in the back end
start a new project quickly and one of
the good part of Cloud9 the speed of you
know working on the internet environment
is very fast as compared to your local
computer now again if you are using your
local computer at very high ethernet
speed then that's a different scenario
but by default you don't have to worry
about configuring the internet
environment on Cloud9 as well so I hope
this clears a lot in terms of what we
want to achieve with Cloud9 now it's
time for a demo let me stop the
presentation and navigate to my AWS
Management console I am already running
a Cloud9 environment but I'll show you
how you can provision it so what you
have to do you have to go to AWS Cloud9
you can also search AWS it's Cloud9
actually not AWS
cloud with no Space Nine so once you
click on Cloud9 you will get navigated
to this particular introduction page
which is basically a cloud ID for
writing running and debugging your code
you can go through all you know all all
the benefits and everything over here
because whatever we have discussed it's
written in a different language I would
say but the concept is same
okay so this comes with a built-in
terminal with a pre-configured awsli so
you don't have to specifically configure
awcli to you know interact with the
environment another important factor if
you can see on an it it creates an ec2
machine in the back end that connects to
your own Linux server through SSH as
well
okay so in order to create Cloud9 what
you have to do click on create
environment give the name I'm giving
this as demo one and it has to be a
unique name okay if you have an existing
compute you can select the existing
server and based upon that you have to
provide your username host and port
number on which you want to connect I
don't have any server running especially
for you know to use this Cloud9
environment
now here is the type of instance T2
micro is very small uh
initially you can start working with T2
micro but at certain point of time it
will get slow that's something for sure
So based upon your usage go for the
proper instance type how much you are
doing a development based on that
experience platform as of now we have
only two platforms supported which is
Amazon Linux and Ubuntu the Amazon Linux
which is more towards an rhl family so
yum installed and everything works over
there
timeout this is very important point
over here so if your Cloud9 environment
is inactive for 30 minutes let's shut it
down because there is no point to have
Cloud9 up and running if you are not
doing a development obviously being a
human I'm not going to work 24 cross 7
cross 365 days so I have to shut down
those environment which I'm not using
because we are running in the world of
cloud so it's better to save money as
much as we can
network settings so there are like two
ways of doing a connection so if you are
doing on a private Network use systems
manager and if you are you know want to
do a direct SSH connection then go for
SSH environment VPC you have to select
the VPC on which you want to configure
Cloud9 and select the you know subnet on
which you want to configure it I don't
have a private subneter as of now
because Nat Gateway is totally deleted I
don't want to pay for an ideal Nat
Gateway it costs a lot so let's go with
the public subnet you can give the
tagging and in the backend it it is
creating an IM role Okay click on create
now obviously this will take bit of time
for uh make this environment up and
running but one of the important point
to note over here from you know
interview perspective as well so when
you create a Cloud9 environment in the
back and it's creating easy to instance
but it's not directly creating an easy
to instance there is a cloud formation
template in the back end that gets
triggered with all the functionality and
user data written in the back end so
that's what uh creating ec2 instance so
if I go to cloud formation
let me show you that as well
so I'll be having two cloud formation
one is already running with Cloud9
environment and one is the new one that
we have triggered so this one is the
created one already so let's select this
you can select a the output and all okay
it seems to be a plain template so as
you can see this is an Ami image ID and
this is the user data
that it's creating Cloud9 environment
Association of the public IP address and
everything all sorts of settings and
sided IP range is this one
that space I believe that's a public IP
address of an instance
so that's done now if I refresh it if I
go to my ec2 instance
as you can see a new instance is getting
initialized that's what your Cloud9
environment is all about now instead of
waiting because the process is same you
don't have to uh you know deviate from
the process so let me show you the
existing Cloud9 environment so once it
is up and running this will show as over
here demo and demo one and click on one
of the open environments I believe this
is already done right so let's click on
demo one it is it was quite fast so
that's your Cloud9 environment
and press option cmdr that's that's what
it is so this is your terminal at the
end at the bottom basically now if I do
AWS s3ls I'll be able to see all my
buckets over here
so I haven't configured anything I
haven't configured AWS CLI but still I
am able to query all the S3 buckets why
because it comes with a pre-packaged AWS
CLI with a temp credentials okay
now what are options we are getting you
can create a file upload a file you can
also clone the GitHub repo and obviously
uh the theme over here is jet dark and
default keyboard
okay so let's click on Cloud9 see the
preferences here you can see or or you
can change basically whatever as per
your requirement right so you can save
the settings to disk we have code editor
where you you are getting lot of
different option code formatters are
there then
go support enable go code completion and
everything JavaScript support So as you
can see it's very rich in version right
python support is the then typescript
support ec2 instances AWS toolkit so we
are getting almost everything from the
developer perspective again I'm not a
developer but I do a lot of scripting
still I am able to use this as per best
of my knowledge but yeah from from a
developer perspective I would say we are
getting a very rich editor right so as
you can see run configuration find the
files hints and warnings go Java
JavaScript PHP python support typescript
and ec2 instances here is the you know
all the settings what we have for the
ec2 instances
now if you just click on this is the
project setting
AWS toolkit now if you go to user
setting here you can change as per your
requirement one of the important one you
will play around a lot is terminal so
you can change the color and everything
if you don't like jet black for that you
can go to there is something called
themes where is that General
it's somewhere over here uh the theme
section yeah here it is themes so if you
want white you can go with that gray
black whatever whatever it is right uh
another part is AWS settings here is
something called credential it's a
managed temporary credential
okay so again you don't have to
configure anything it comes with a
prepackaged CLI with temporary SSH key
and not the SSH the access key and the
secret key
okay experimental then again lot of
things are over here lot of different
features are available so it's something
you have to go through it and based upon
your requirement you can play around
with Cloud9
being a developer so you'll be able to
understand it more and we have a good
support as I said we have git support as
well so again if we go to the preference
there is something called get over here
somewhere in the project setting or
somewhere we have get yeah extension so
git support is already enabled and you
can clone your entire repo
so let's go back to our presentation so
I hope this clears a lot in terms of how
you can create a Cloud9 environment how
you can use ID what are options are
there so it's better for you to play
around with Cloud9 and if you if you
don't want to use it just delete it
right but if you want to use it just
play around with certain uh T go with
the micro instances don't go with the
high-end instances in order to not pay
money to AWS because you are doing a
demo you are understanding from your end
if you like it then go ahead and you
know propose this to your management hey
we can use Cloud9 it's better than other
IDs uh when we are interacting with AWS
I'm not I'm not 100 saying like uh it's
better than other IDs but it is better
when you interact with different AWS
Services you'll overhead of working with
an application development within the
world of cloud within world of AWS it's
very much easy as compared to other
configuration
place out a comment in comment section
if you're facing any issue I'll be there
to help you have a nice day bye
浏览更多相关视频
HOW TO CONNECT TO EC2 INSTANCE FROM WINDOWS LAPTOP | MOBAXTERM | #aws #devops #abhishekveeramalla
How to connect EC2 instance over SSH using Windows and Mac? | Visual Explanations
IntelliJ Idea Installation | Lecture 2 | Java and DSA Foundation Course
How to set up Visual Studio Code for Executing and Debugging C Programs | Tutorial
Top 50+ AWS Services Explained in 10 Minutes
DevOps Roadmap for beginners
5.0 / 5 (0 votes)