Posts

Showing posts with the label amazon-ec2

Jenkins run up an Amazon EC2 Linux Ubuntu instance failing

Jenkins run up an Amazon EC2 Linux Ubuntu instance failing I have configured and tried to run Jenkins System Configuration from AWS windows system: It is failed and thrown the fallowing error. I insalled manually Java 1.7 Jun 29, 2018 6:22:29 PM null FINEST: Node RocketChat-Server (i-034fb93609641e1b1)(i-034fb93609641e1b1) is still pending/launching, waiting 5s Jun 29, 2018 6:22:35 PM null FINEST: Node RocketChat-Server (i-034fb93609641e1b1)(i-034fb93609641e1b1) is still pending/launching, waiting 5s Jun 29, 2018 6:22:40 PM null FINEST: Node RocketChat-Server (i-034fb93609641e1b1)(i-034fb93609641e1b1) is still pending/launching, waiting 5s Jun 29, 2018 6:22:45 PM null FINEST: Node RocketChat-Server (i-034fb93609641e1b1)(i-034fb93609641e1b1) is still pending/launching, waiting 5s Jun 29, 2018 6:22:50 PM null FINER: Node RocketChat-Server (i-034fb93609641e1b1)(i-034fb93609641e1b1) is ready Jun 29, 2018 6:22:50 PM null INFO: Launching instance: i-034fb93609641e1b1 Jun 29, 2018 6:22:50 PM ...

S3 image read/write from Beanstalk/EC2 Web application

S3 image read/write from Beanstalk/EC2 Web application I have a web application (Elastic Beanstalk managed PHP on a Linux EC2 instance) that allows the user to upload images. My concern is that if I upload my code I would first have to download all the images then re-upload them with my new code if they stay on EC2. So the obvious solution seems to be to move the image directory to S3. The approaches I've found so far are a mounted drive or the SDK. What I'm finding is that for both approachs it seems Elastic Beanstalk is running in a write protected drive location that is preventing me from accessing the other approaches. For instance, for the mounted drive, I can't recurse up enough directories to access the mounted drive. Beanstalk is running in /var/app/current/ and the mounted drive is located /var/s3-{bucket mount name}. If I try to access it (../../s3-{bucket mount name}) it looks for it in the same folder as my app. When I followed the instructions for the SDK ...

Node server and npm is not running on Windows 12 EC2 instance in AWS

Node server and npm is not running on Windows 12 EC2 instance in AWS I am running following command in User Data but I don't see that npm is installing npm_module and also not running node server.I have verified that node is already installed and PATH is already set.My Node code and pacakge.json is under 'MyNodeServer' folder. $ctiServerDir="D:AppsCTICloudMyNodeServer" mkdir $ctiServerDir npm set proxy= myproxy npm set https-proxy=myhttpsprxy Set-Location $ctiServerDir npm install npm start What version of nodejs you are using? What is npm version? What error you see when you run node application? – Pramod Jangam 2 days ago npm version 3.10.10 and node v6.11.3 – user3462602 2 days ago ...

EC2 instance has no public DNS

Image
EC2 instance has no public DNS A guy I work with gave me the EC2 credentials to log onto his EC2 console. I was not the one who set it up. Some of the instances show a public dns name and others have a blank public DNS. I want to be able to connect to the instances that have a blank public DNS. I have not been able to figure out why these show up as blank. Are the instances inside a VPC? Check if there is a value next to the VPC ID field in the instance description screen. – David Levesque Jan 6 '14 at 5:16 I have the same problem. My instances are inside a VPC, and on the Subnet, I have checked the public DNS to be available. Still I'm getting no public DNS names. I can see that in my VPC configuration, it's saying DNS hostnames: no , but I cannot change that value and adding a new VPC doesn't g...