Install Koha, DSpace on Amazon Web Services

First Go to Amazon Web Service -- AWS Management Console --Services -- click EC2 under compute.To start using Amazon EC2 you will want to launch a virtual server, known as an Amazon EC2 instance. click Launch Instance it will prompts you to a new window.

Step 1: Choose an Amazon Machine Image (AMI)

An AMI is a template that contains the software configuration (operating system, application server, and applications) required to launch your instance. You can select an AMI provided by AWS, our user community, or the AWS Marketplace; or you can select one of your own AMIs.

Step 2: Choose an Instance Type

Amazon EC2 provides a wide selection of instance types optimized to fit different use cases. Instances are virtual servers that can run applications. They have varying combinations of CPU, memory, storage, and networking capacity, and give you the flexibility to choose the appropriate mix of resources for your applications. Learn more about instance types and how they can meet your computing needs.

Step 3: Configure Instance Details

Configure the instance to suit your requirements. You can launch multiple instances from the same AMI, request Spot instances to take advantage of the lower pricing, assign an access management role to the instance, and more.

Step 4: Add Storage

Your instance will be launched with the following storage device settings. You can attach additional EBS volumes and instance store volumes to your instance, or edit the settings of the root volume. You can also attach additional EBS volumes after launching an instance, but not instance store volumes. Learn more about storage options in Amazon EC2.

Step 5: Add Tags

A tag consists of a case-sensitive key-value pair. For example, you could define a tag with key = Name and value = Webserver.
A copy of a tag can be applied to volumes, instances or both.
Tags will be applied to all instances and volumes. Learn more about tagging your Amazon EC2 resources.

Step 6: Configure Security Group

A security group is a set of firewall rules that control the traffic for your instance. On this page, you can add rules to allow specific traffic to reach your instance. For example, if you want to set up a web server and allow Internet traffic to reach your instance, add rules that allow unrestricted access to the HTTP and HTTPS ports. You can create a new security group providing SSH as 22, HTTP as 80, Custom TCP as 8080. or select from an existing one below. Learn more about Amazon EC2 security groups.

Step 7: Review Instance Launch

Please review your instance launch details. You can go back to edit changes for each section. Click Launch to assign a key pair to your instance and complete the launch process. It will prompt you to a new window asking selecting an existing key pair/creating a new key pair you may name it (eg: kohademo) and download. A key pair consists of a public key that AWS stores, and a private key file that you store. Together, they allow you to connect to your instance securely. For Windows AMIs, the private key file is required to obtain the password used to log into your instance. For Linux AMIs, the private key file allows you to securely SSH into your instance. and click launch the instance.that will bring you to instance dashboard. click connect right to launch instance. 

You can connect your instance either as
or A Java SSH Client directly from my browser (Java required)

To access your instance:

Open terminal and execute following command

sudo su

provide system password
Locate your private key file (kohademo.pem) at Downloads. The wizard automatically detects the key you used to launch the instance. 
Navigate into Downloads directory

cd /Downloads

Your key must not be publicly viewable for SSH to work.

Use this command if needed:

chmod 400 kohademo.pem

Connect to your instance using its Public DNS:

ssh -i "kohademo.pem" ubuntu@ec2-13-126-119-166.ap-south-1.compute.amazonaws.com  (your's will be diffrent)

Thats it now you are logged in as root user in the AWS server. You can now install Koha, DSpace and GreenStone and so on and make them in cloud
Chech my Koha & OPAC installed in AWS

http://18.224.246.6:8080/ Staff client
http://18.224.246.6:80   OPAC



Thank you

0 Komentar