Configure Amazon linux workspace for web development

Amazon WorkSpaces are easily provision cloud-based desktops that allow end-users to access applications and resources. Amazon EC2 is Scalable, pay-as-you-go compute capacity in the cloud.

Amazon EC2 can be classified as a tool in the “Cloud Hosting” category, while Amazon WorkSpaces is grouped under “Virtual Desktop”.

Amazon workspace can be of windows type or linux type. This article is about configuring your amazon linux workspace so that it is ready for full stack web development.

  1. Login in to your workspace using Amazon workspace client application. The application can be download from link - https://clients.amazonworkspaces.com/

2. Check logged in user and os details

For web development i require following tools to be installed:
java, postgresql, node, vs code and eclipse.

Steps to install & configure these tools are as follows.

3. Install/Configure Java 11

By default , two version of java comes on the linux workspace.
java-1.8.0-openjdk 1.8
java-11-amazon-corretto

You can check out difference between openjdk and amazon-corretto version at this stackoverflow post-
https://stackoverflow.com/questions/53305934/differences-amazon-corretto-and-openjdk

4. Install Postgresql 13 server

5. Install Nodejs 16

6. Install Microsoft visual studio code

7. Install Eclipse IDE

Thats’s it.

Resources:
https://www.how2shout.com/linux/install-postgresql-13-on-aws-ec2-amazon-linux-2/
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-install-extras-library-software/
https://hpratap.medium.com/install-postgresql13-on-rhel7-202b1d03cd94
https://tecadmin.net/install-java-on-amazon-linux/
https://code.visualstudio.com/docs/setup/linux

--

--

System Administrator and Full stack web developer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store