The Entrepreneur Forum | Startups | Entrepreneurship | Starting a Business | Motivation | Success

[Tutorial] Building a serverless website for free

Accelerate wealth. Build a business that pays freedom. Join more than 70,000 entrepreneurs and register for the Fastlane Entrepreneur forum. Remove ads? Join the INSIDERS.

juan917

Silver Contributor
Read Millionaire Fastlane
Speedway Pass
Jul 27, 2015
471
793
283
29
Hi guys,

In this post I want to tell you how I went about and built a fully functional website with no servers and for free too! (Well, its free until you get thousands of users). Managing servers and having to worry about downtime is a massive stress. Isn't it better to not think about managing traffic/load balancing, server maintenance/upgrades, domain management package updates, SSL certificates etc.

I think so.

I found a service called netlify.com which allows you to write a webpage / webpages in HTML/CSS/Javascript and it handles all of these operational things for you as well as deploying a site to a random url.


OK well, what if your use case requires you to use a server because you want to run a backend operation because you are doing something like data manipulation or getting data from a third-party source on a 24/7 basis. Netlify will fall short for you here since the life time of your HTML/CSS/Javascript is however long your last active user has an open browser tab open to your site.

Introducing webtask (webtask.io). Webtask allows you to create API endpoints without needing a server. There is an option to run webtasks as a command line tool, but lets leave that for more advanced users. Instead, I recommend using webtask's built in cloud IDE which you can find at

Sign In with Auth0

After you login. You'll see this window.

KxoJoO4.png


Here's where you can run your business logic. If you look down you can see there's a url that you can copy. That URL gives you an API endpoint which you can make requests to from your Netlify webpage using Javascript.

Ok.. now what if you need persistent data / storage. In this case I recommend using Amazon Web Services. Either S3 or DynamoDB, or some SQL database to store your data. You will use the webtask API functions to manipulate the data that lives in your AWS cloud.

If there is enough interest I can pull together code samples demonstrating things in more detail. All these services are free until your website starts to scale up.
 

Sponsored Offers

MARKETPLACE Fox Web School "Legend" Group Coaching Program 2021
Hi - I sent out some emails with the updates but I'll PM you now also, thanks. The issue is...
  • Sticky
MARKETPLACE NEW: The Best School for Going Fastlane (Now open for summer enrollment)
Read the free book, some excellent insights. I also did the website quiz and I did a visual on a...
MARKETPLACE Not sure how to start? This free book will teach you how to build a successful web design business
Hi Fox. Starting the book and got through the introduction. Had a conversation with Andy Black...
  • Sticky
MARKETPLACE You Are One Call Away From Living Your Dream Life - LightHouse’s Accountability Program ⚡
Chris is super sharp and is aware of many facets of entrepreneurship and can help get your...
Introducing MJ's Personal Unscripted Network, Join Now for FREE!
Any chance to make it available outside of US? It has been available outside of the US on...

Forum Sponsor

Learn Fastlane Business Skills & Get Profitable Within 30 Days...

Get Started Now

New Topics

Fastlane Insiders

View the forum AD FREE.
Private, unindexed content
Detailed process/execution threads
Ideas needing execution, more!

Join Fastlane Insiders.

Top Bottom