![]() ![]() Ģ It will give you Ubuntu prompt in your terminal. pem file then run this command into your terminal sudo SSH -i file_name.pem. Below are the steps to access and setup your LAMP in Ubuntu 12.04 LTS instance.ġ Open your terminal and go to the directory where you stored your key pair file. For this we access our Ubuntu instance from terminal and setup LAMP in that. Now we setup LAMP in our Ubuntu 12.04 LTS instance. Your instance will be running in some time as AWS will take some time to run your instance. About source you can give any IP range as you need or just leave default for now.ġ0 Just click continue and launch instance. Http port range is 80 SSH port range is 22, for ftp select custom TCP rule and give port range 21-22. Here we will assign some security rule and enable http, SSH and ftp connection to our instance. Download your keypair.pem file and save at a safe place because we need this file later.ĩ Next select create a new security group. Give name to your key pair file it should make sense with regards to your project. I recommend give key value name more sensible with your project and click continue.Ĩ Now select creating a new key pair as we are new we don't have existed key pair. Now for creating new instance follow below steps:-ġ Just click on Launch instance select Classical wizard and click continue.Ģ Now you have to select Amazon Machine Image (AMI) from one of the tabbed lists below by clicking its Select button.Ĥ Next leave default settings except just select micro instance from the instance type because it’s free to use and click continue.ĥ Next again leave default setting and click continue.Ħ Next again leave default setting and click continue.ħ Now you have to give name of your key and value. It will redirect you to EC2 dashboard where you can manage your entire instance. Among the AWS services just click on EC2 link which is nothing but a virtual server in the cloud. Once you are registered with AWS you have to login into your account. So, what we will understand from this blog:-ġ Choosing OS and assigning some security rules on our instance.Ģ How to access our instance and play around it?ģ Setting up LAMP on our AWS micro instanceĥ Managing your Drupal project using ftp connection using filezilla Before this, of course you have to register with AWS which is straightforward. Using http_load to test, the result is also around 4 fetches/sec.In this blog I will drive you through setting up Drupal project instance on Ec2 micro instance of AWS and setting up ftp on your Drupal instance. testurlģ6 fetches, 64 max parallel, 152352 bytes, in 10.0013 seconds This is quite weird.Ĭould anyone suggest how to cope with this issue? Thanks. With the fresh instance/apache/mysql, it can only reach 4 requests/sec, too. Drupal: 6.19 and create a simple node ( ) for test. We also built a fresh instance to see if the problem is due to our system configuration.ģ. We know there are some EC2+Drupal images to use, but we have been working on this website for weeks, and there is not time left for us to restart from a fresh image. This is still quite bad when the other sites can easily reach 70 fetches/sec or more. We disabled all modules, and then it came to around 4 fetches/sec. We used http_load to test the performance of it and the result was less than 1 fetch/sec. ![]() ![]() The website uses an AWS EC2 small instance, S3, and RDS. Because of an urgent schedule, could anyone please suggest for us a way to solve the problem. We've been working on a website recently. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |