How to install Frontity in AWS Lightsail?

Hi, im new in this (node.js) but im trying to install the Frontity in AWS, i install Node.js using bitnami, and is running, i make que quick installation of frontity, but nothing happen in my IP.

I dont know what im doing wrong, or what is missing.

The documentation and videos usually are for Localhost, but nothing for AWS, if you help me, i promise i make a video (in spanish) how to install Frontity in AWS.

Thanks.

i Tried:

https://myip
//myip:3000
//myip/my-app
//myip/my-app:3000

but, nothing happen.

Nobody can help me?

install wordpress normal to your web host for example use sub domain sub.mylink.com
and get the rest api link from that sub.mylink. com/wp-json/ and put this link on frontity.settings.js
check this tutorial docs.frontity.org/getting-started/connecting-to-wordpress

next step on development mode use build npx frontity build
docs.frontity. org/deployment

now you can deploy your webiste to any nodejs hosting and will show all data grap from sub .mylink .com to new link for example mylink. com

so now mylink. com is front end for your website and sub.mylink.com for admin area or wp dashboard

maybe sub.mylink.com should be stoped by roboto.txt

Thanks for the help, but didnt work in AWS :pensive:

Hello Let me know if you still need help regarding deploy frontity on aws. will guide you via team viewer

Thanks

3 Likes

Hi, i will contact you.

Hi @mosamlife , i sent you a message to your website, please, contact me, im very interesting.

Thanks.

I just sent you a Message

I did not receive anything.

Hi, me too try to install frontity on aws, but i dont know config the proxy server for frontity app, i belive that is the problem

HI @msakiya14 & @cristianjmunoz

We have in our backlog the creation of different guides for deployment on different platforms
In the meantime, here you have some discussions regarding deployment to AWS:

Hope this helps

I am deploy frotity on ligthsail of aws.

It looks like Lightsail is using Bitnami image for creating a Node.js app. Full documentation is on: https://docs.bitnami.com/aws/infrastructure/nodejs/

It looks like for NodeJS processes they recommend using forever:

After you’ve done npx frontity build, you can run the Frontity server with forever using:

forever start -c "npx frontity serve"

Finally, it looks like Bitnami is using Apache as a reverse proxy. You should add a virtual host there. I’m not an Apache expert, but I guess something like this to redirect the 80 port to the internal localhost on port 3000.

<VirtualHost _default_:80>
  ServerAlias *
  DocumentRoot "/opt/bitnami/projects/frontity"
  <Directory "/opt/bitnami/projects/frontity">
    Require all granted
  </Directory>
  ProxyPass / http://localhost:3000/
  ProxyPassReverse / http://localhost:3000/
</VirtualHost>

Full docs on https://docs.bitnami.com/aws/infrastructure/nodejs/administration/create-custom-application-nodejs/

Just remember that Frontity is a regular NodeJS app. You should be able to host it as any other NodeJS app out there :slightly_smiling_face:

2 Likes