Configuring ssl on aws ec2 with elastic load balancer service unavailable? - amazon-web-services

i have setup bitnami wordpress on my ubuntu 64 bit server and now want to add ssl provided by amazon. i have followed following tutorial by bitnami
i am on last step:
/opt/bitnami/apps/APPNAME/conf/httpd-prefix.conf
but when i enter this command in ssh . it says permission denied.
and wen i open my web it says : service temporary unavailable "
but i can visit my web with public ip of instance its working.

You don't enter the file into ssh. You edit the file with a text editor such as "nano" or "vi". Then follow the instructions.
vi opt/bitnami/apps/APPNAME/conf/httpd-prefix.conf

Related

Is there any way to get the DNS address of an instance of an aws ubuntu server if I do not have the login to the aws account, but the SSH key for it

I got a task to deploy a static website on an AWS Ubuntu Server, I was given the username and the SSH key for it. Using PuTTy I got access to the server, setup django, postgres nginx and gunicorn. However now I need to check the progress and whichever tutorial I looked up, I found them checking their deployment progress with a dns address, but since I have connected to the server remotely, I do not have that. So please help me check my deployment status. I am attaching some screenshots of the PuTTy terminal below
Image of the final Gunicorn command to finish the deployment

Jupyter Lab on EC2 instance not reachable through web browser after stopping and restart

I have setup an AWS EC2 instance and setup Miniconda and JupyterLab on it, following this tutorial.
I can access it through the terminal using the PEM file and launch the jupyter lab command. But when I try to reach the provided address through my web browser, I get a The connection has timed out: The server at ec2-******.*******.compute.amazonaws.com is taking too long to respond error.
How do I solve this?
Edit 1
The security inbound rules:
Edit 2
The page when I try to reach it:
Edit 3
Output of netstat -nat:
Edit 4
Live output of command jupyter lab:
You probably have only port 22 opened in Security Groups which allows SSH. Open port 80 for HTTP or 443 for HTTPS.

How to run pencilblue on aws?

I have installed PencilBlue on AWS EC2 instance. i have started PB by using the command pbctrl start
Now, how can I access the PencilBlue login page?
Just like you run any other web server on EC2, you start the service, open the port in the Security Group, and then open the website in your browser.

unable to launch a phonegap web app on aws ec2 instance

Could someone please guide me as to how I can launch my app on the EC2 instance? I have created the instance. I am able to connect using SSH. I have also uploaded my files to the instance. I am using Ubuntu as my OS. I have checked and reset the Security Groups rules to accept all traffic as both inbound and outbound traffic rules for my running instance. I am unable to move to next step where I would ideally be launching my app on the browser. I have also installed Apache server and made sure it is running. Am I missing something? I can see my files in the /var/www/html folder when I navigate through the terminal. How can I launch the index.html through the instance?
Any help would be appreciated.

Questions Regarding Hosting a dynamic website on Amazon EC2

So i have developed a dynamic website using Eclipse.
I have set up an instance of Amazon EC2 , i have installed Apache Tomcat 7 and MYSQL on it. Using the Apache Tomcat menue by going to publicDns:8080 i have deployed the war file as well.
The project name is sms.
It works perfectly fine when i visit the site using publicDNS:8080/sms
Now i have created an elastic Ip address and associated it with the instance
I have also pointed my domain to the Ip Address
Now i want that when ever i visit this address it should take me to the index of my deployed website.
Right now i am working with the Ip Address since my domain is still configuring
so what i want is when i visit my Ip Address it should take me to the index of the website
instead what i have to do now is
IpAddress:8080/sms
going to IpAddress alone shows me Unable to Connect Error
How do i configure my EC2 Instance so going to the IpAddress would take me directly to the index
Well this is how i solved the problem
First i renamed by war to ROOT.war , then i deployed it using the normal method from the Manager section of apache home (domainName:8080/manager). Then using putty i connected to my amazon EC2 cloud and navigated to the apache folder, and changed the default port from 8080 to 80.
So now going to the domain name takes me to mywebsite