SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Downloaden Sie, um offline zu lesen
Virtual Server on AWS
Deploying Play Framework in EC2 - part # 1
Kamarul kawnayeen
Preface
In this tutorial series, I will go through how to deploy play framework on
Amazon EC2 almost from scratch. Google Cloud Computing, Amazon Web
Services, IBM Soft Layer are the top choices for architecting enterprise level
solution. Although this tutorial series will not cover load balancing, auto scaling,
alarm monitoring, but you will get an idea how to setup an ubuntu instance on
EC2 and then make it ready for developing & deploying play application.
Virtual Server on AWS
I’m going to setup ubuntu 14.04 LTS on t2 micro instance.
t2 micro instance has :-
➢ 1 vCPU
➢ 1 Gibibyte (GiB) of RAM
➢ EBS only storage
Virtual Server on AWS - Step # 1
After login to your aws account, select “Services -> Compute & Networking ->EC2”
login to your aws account, then select
“Services->Compute & Networking->EC2”
click on the “Instances” tab from left panel
& then click “Launch Instance”
browse for ubuntu machine images & then select the highlighted one
click “Review and Launch”
click “Launch”
a pop will appear, you have to select the key pair you want to use to connect with that
instance. if you don’t have a key pair, then create one (see the next slide). After selecting
the key pair, click “Launch Instances”
Ignore this slide if you already have a key pair. Otherwise
1) click the “Key Pairs” tab from left panel
2) click on the “Create Key Pair” and follow a popup will
appear for the name of Key pair.
You will see something like this which confirm
that your instance is launching. Go to EC2
console for details.
select your instance & then click the “Connect” button
1) change the mode of
your key pairs to 400
2) copy the highlighted
text.
Open the terminal at the
directory where you placed
your key paired.
Once you are at the required directory (where the key file is), then
pasted the line copied 2 slides ago and hit enter
if you are connecting for the first time, it will ask for confirmation. say “yes” and hit
enter.
So, we are connected with our virtual ubuntu server at EC2 :)

Weitere ähnliche Inhalte

Was ist angesagt?

How do i update the crawford slackware box so that it is running the most up ...
How do i update the crawford slackware box so that it is running the most up ...How do i update the crawford slackware box so that it is running the most up ...
How do i update the crawford slackware box so that it is running the most up ...
Alexander Bitar
 

Was ist angesagt? (20)

How do i update the crawford slackware box so that it is running the most up ...
How do i update the crawford slackware box so that it is running the most up ...How do i update the crawford slackware box so that it is running the most up ...
How do i update the crawford slackware box so that it is running the most up ...
 
Oracle Enterprise Manager Cloud Control 13c13.3 Installation On Oracle Linux-7
Oracle Enterprise Manager Cloud Control 13c13.3 Installation On Oracle Linux-7Oracle Enterprise Manager Cloud Control 13c13.3 Installation On Oracle Linux-7
Oracle Enterprise Manager Cloud Control 13c13.3 Installation On Oracle Linux-7
 
How To Deploy a Clojure Web Application on Ubuntu 14.04
How To Deploy a Clojure Web Application on Ubuntu 14.04How To Deploy a Clojure Web Application on Ubuntu 14.04
How To Deploy a Clojure Web Application on Ubuntu 14.04
 
Atom IDE
Atom IDEAtom IDE
Atom IDE
 
Module 1 introduction to aws demo 4
Module 1 introduction to aws demo 4Module 1 introduction to aws demo 4
Module 1 introduction to aws demo 4
 
Installing mule
Installing muleInstalling mule
Installing mule
 
How To Install Sonar Qube Plugin In Anypoint Studio
How To Install Sonar Qube Plugin In Anypoint StudioHow To Install Sonar Qube Plugin In Anypoint Studio
How To Install Sonar Qube Plugin In Anypoint Studio
 
Getting anypoint studios all versions
Getting anypoint studios all versionsGetting anypoint studios all versions
Getting anypoint studios all versions
 
Cache for community edition
Cache for community editionCache for community edition
Cache for community edition
 
Intro to the Express Web Framework
Intro to the Express Web FrameworkIntro to the Express Web Framework
Intro to the Express Web Framework
 
Groovy with Mule
Groovy with MuleGroovy with Mule
Groovy with Mule
 
Groovy in Mule
Groovy in MuleGroovy in Mule
Groovy in Mule
 
Caching and invalidating with managed store
Caching and invalidating with managed storeCaching and invalidating with managed store
Caching and invalidating with managed store
 
Mule esb - How to use Idempotent Filters in 5 minutes
Mule esb - How to use Idempotent Filters in 5 minutesMule esb - How to use Idempotent Filters in 5 minutes
Mule esb - How to use Idempotent Filters in 5 minutes
 
Install jenkins and sonar qube integration
Install jenkins and sonar qube integrationInstall jenkins and sonar qube integration
Install jenkins and sonar qube integration
 
Vagrant development environment
Vagrant   development environmentVagrant   development environment
Vagrant development environment
 
WPParra AWS
WPParra AWSWPParra AWS
WPParra AWS
 
Mule esb - How to connect to a MySql Database in 5 minutes
Mule esb - How to connect to a MySql Database in 5 minutesMule esb - How to connect to a MySql Database in 5 minutes
Mule esb - How to connect to a MySql Database in 5 minutes
 
Deploying and Running in Mule
Deploying and Running in MuleDeploying and Running in Mule
Deploying and Running in Mule
 
.NET Conf 2018: Build Great Libraries using .NET Standard
.NET Conf 2018: Build Great Libraries using .NET Standard.NET Conf 2018: Build Great Libraries using .NET Standard
.NET Conf 2018: Build Great Libraries using .NET Standard
 

Andere mochten auch

The Global Gender Gap Report
The Global Gender Gap ReportThe Global Gender Gap Report
The Global Gender Gap Report
tribunavirtual
 
Ozyyyyyyy Presentation
Ozyyyyyyy PresentationOzyyyyyyy Presentation
Ozyyyyyyy Presentation
guest198638b
 

Andere mochten auch (20)

Setting the Pace Online 2013
Setting the Pace Online 2013Setting the Pace Online 2013
Setting the Pace Online 2013
 
Uniquesofts
UniquesoftsUniquesofts
Uniquesofts
 
media
media media
media
 
Valores de la persona
Valores de la personaValores de la persona
Valores de la persona
 
For Advisers Iowa 11
For Advisers Iowa 11For Advisers Iowa 11
For Advisers Iowa 11
 
The Pacemaker NSPA 12a
The Pacemaker NSPA 12aThe Pacemaker NSPA 12a
The Pacemaker NSPA 12a
 
The Global Gender Gap Report
The Global Gender Gap ReportThe Global Gender Gap Report
The Global Gender Gap Report
 
Infiniti of Naperville - 2015 Infiniti QX80 Brochure
Infiniti of Naperville - 2015 Infiniti QX80 BrochureInfiniti of Naperville - 2015 Infiniti QX80 Brochure
Infiniti of Naperville - 2015 Infiniti QX80 Brochure
 
Infiniti of Lisle TechNews March 2011
Infiniti of Lisle TechNews March 2011Infiniti of Lisle TechNews March 2011
Infiniti of Lisle TechNews March 2011
 
소셜미디어마케팅가이드(SocialMedia Marketing Guide)
소셜미디어마케팅가이드(SocialMedia Marketing Guide)소셜미디어마케팅가이드(SocialMedia Marketing Guide)
소셜미디어마케팅가이드(SocialMedia Marketing Guide)
 
Clay Play For Everyone
Clay Play For EveryoneClay Play For Everyone
Clay Play For Everyone
 
Vitality & Health pecha kucha presentation 02042013
Vitality & Health pecha kucha presentation 02042013Vitality & Health pecha kucha presentation 02042013
Vitality & Health pecha kucha presentation 02042013
 
Print, Pixels & People 11
Print, Pixels & People 11Print, Pixels & People 11
Print, Pixels & People 11
 
Setting the Pace in Print 13
Setting the Pace in Print 13Setting the Pace in Print 13
Setting the Pace in Print 13
 
Ozyyyyyyy Presentation
Ozyyyyyyy PresentationOzyyyyyyy Presentation
Ozyyyyyyy Presentation
 
Twitter Guide(트위터 가이드) ver2 Charistics & Practical Use(특징과 활용)
Twitter Guide(트위터 가이드) ver2 Charistics & Practical Use(특징과 활용)Twitter Guide(트위터 가이드) ver2 Charistics & Practical Use(특징과 활용)
Twitter Guide(트위터 가이드) ver2 Charistics & Practical Use(특징과 활용)
 
Sources Of Energy(Sideshow)
Sources Of Energy(Sideshow)Sources Of Energy(Sideshow)
Sources Of Energy(Sideshow)
 
Presentation1
Presentation1Presentation1
Presentation1
 
Infiniti of Naperville - 2015 Infiniti Q40 Brochure
Infiniti of Naperville - 2015 Infiniti Q40 BrochureInfiniti of Naperville - 2015 Infiniti Q40 Brochure
Infiniti of Naperville - 2015 Infiniti Q40 Brochure
 
Wacana minda 30julai
Wacana minda 30julaiWacana minda 30julai
Wacana minda 30julai
 

Ähnlich wie Virtual server on aws

Aws project jenkins-build-server
Aws project jenkins-build-serverAws project jenkins-build-server
Aws project jenkins-build-server
saifam
 
GUIDE - Migrating AWS EBS backed AMI's between Regions
GUIDE - Migrating AWS EBS backed AMI's between RegionsGUIDE - Migrating AWS EBS backed AMI's between Regions
GUIDE - Migrating AWS EBS backed AMI's between Regions
Rob Linton
 

Ähnlich wie Virtual server on aws (20)

AWS essentials EC2
AWS essentials EC2AWS essentials EC2
AWS essentials EC2
 
AWS Instance Preparation
AWS Instance PreparationAWS Instance Preparation
AWS Instance Preparation
 
Knowledge article
Knowledge articleKnowledge article
Knowledge article
 
Aws project jenkins-build-server
Aws project jenkins-build-serverAws project jenkins-build-server
Aws project jenkins-build-server
 
Building the Test Automation Framework - Jenkins for Testers
Building the Test Automation Framework - Jenkins for TestersBuilding the Test Automation Framework - Jenkins for Testers
Building the Test Automation Framework - Jenkins for Testers
 
How to begin with Amazon EC2?
How to begin with Amazon EC2?How to begin with Amazon EC2?
How to begin with Amazon EC2?
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Moving Drupal to the Cloud
Moving Drupal to the CloudMoving Drupal to the Cloud
Moving Drupal to the Cloud
 
Building your own personal cloud with Eucalyptus
Building your own personal cloud with EucalyptusBuilding your own personal cloud with Eucalyptus
Building your own personal cloud with Eucalyptus
 
Aws setup
Aws setupAws setup
Aws setup
 
Managing Web Infrastructure Systems with Windows PowerShell 2.0 Demo Script
Managing Web Infrastructure Systems with Windows PowerShell 2.0 Demo ScriptManaging Web Infrastructure Systems with Windows PowerShell 2.0 Demo Script
Managing Web Infrastructure Systems with Windows PowerShell 2.0 Demo Script
 
GUIDE - Migrating AWS EBS backed AMI's between Regions
GUIDE - Migrating AWS EBS backed AMI's between RegionsGUIDE - Migrating AWS EBS backed AMI's between Regions
GUIDE - Migrating AWS EBS backed AMI's between Regions
 
sfdx continuous Integration with Jenkins on aws (Part I)
sfdx continuous Integration with Jenkins on aws (Part I)sfdx continuous Integration with Jenkins on aws (Part I)
sfdx continuous Integration with Jenkins on aws (Part I)
 
Install
InstallInstall
Install
 
docker.docx
docker.docxdocker.docx
docker.docx
 
Learn awesome hacking tricks
Learn awesome hacking tricksLearn awesome hacking tricks
Learn awesome hacking tricks
 
HoloLens Unity Build Pipelines on Azure DevOps
HoloLens Unity Build Pipelines on Azure DevOpsHoloLens Unity Build Pipelines on Azure DevOps
HoloLens Unity Build Pipelines on Azure DevOps
 
How To Create EC2 instance Linux Server
How To Create EC2 instance Linux ServerHow To Create EC2 instance Linux Server
How To Create EC2 instance Linux Server
 
Amazon cloudtutorial
Amazon cloudtutorialAmazon cloudtutorial
Amazon cloudtutorial
 

Virtual server on aws

  • 1. Virtual Server on AWS Deploying Play Framework in EC2 - part # 1 Kamarul kawnayeen
  • 2. Preface In this tutorial series, I will go through how to deploy play framework on Amazon EC2 almost from scratch. Google Cloud Computing, Amazon Web Services, IBM Soft Layer are the top choices for architecting enterprise level solution. Although this tutorial series will not cover load balancing, auto scaling, alarm monitoring, but you will get an idea how to setup an ubuntu instance on EC2 and then make it ready for developing & deploying play application.
  • 3. Virtual Server on AWS I’m going to setup ubuntu 14.04 LTS on t2 micro instance. t2 micro instance has :- ➢ 1 vCPU ➢ 1 Gibibyte (GiB) of RAM ➢ EBS only storage
  • 4. Virtual Server on AWS - Step # 1 After login to your aws account, select “Services -> Compute & Networking ->EC2” login to your aws account, then select “Services->Compute & Networking->EC2”
  • 5. click on the “Instances” tab from left panel & then click “Launch Instance”
  • 6. browse for ubuntu machine images & then select the highlighted one
  • 9. a pop will appear, you have to select the key pair you want to use to connect with that instance. if you don’t have a key pair, then create one (see the next slide). After selecting the key pair, click “Launch Instances”
  • 10. Ignore this slide if you already have a key pair. Otherwise 1) click the “Key Pairs” tab from left panel 2) click on the “Create Key Pair” and follow a popup will appear for the name of Key pair.
  • 11. You will see something like this which confirm that your instance is launching. Go to EC2 console for details.
  • 12. select your instance & then click the “Connect” button
  • 13. 1) change the mode of your key pairs to 400 2) copy the highlighted text.
  • 14. Open the terminal at the directory where you placed your key paired.
  • 15. Once you are at the required directory (where the key file is), then pasted the line copied 2 slides ago and hit enter
  • 16. if you are connecting for the first time, it will ask for confirmation. say “yes” and hit enter.
  • 17. So, we are connected with our virtual ubuntu server at EC2 :)