What's new

[Tutorial] Building a serverless website for free

Anything related to matters of the mind

Welcome to the only entrepreneur forum dedicated to building life-changing wealth.

Build a Fastlane business. Earn real financial freedom. Live your best life.

Tired of paying for dead communities hosted by absent gurus who don't have time for you?

Imagine having a multi-millionaire mentor by your side EVERY. SINGLE. DAY. Since 2007, MJ DeMarco has been a cornerstone of Fastlane, actively contributing on over 99% of days—99.92% to be exact! With more than 39,000 game-changing posts, he's dedicated to helping entrepreneurs achieve their freedom. Join a thriving community of over 90,000 members and access a vast library of over 1,000,000 posts from entrepreneurs around the globe.

Forum membership removes this block.

juan917

Regular Contributor
LEGACY MEMBER
Read Fastlane!
Joined
Jul 27, 2015
Messages
471
Rep Bank
$1,340
User Power: 183%
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.
 
Membership Required: Upgrade to Expose Nearly 1,000,000 Posts

Ready to Unleash the Millionaire Entrepreneur in You?

Become a member of the Fastlane Forum, the private community founded by best-selling author and multi-millionaire entrepreneur MJ DeMarco. Since 2007, MJ DeMarco has poured his heart and soul into the Fastlane Forum, helping entrepreneurs reclaim their time, win their financial freedom, and live their best life.

With more than 39,000 posts packed with insights, strategies, and advice, you’re not just a member—you’re stepping into MJ’s inner-circle, a place where you’ll never be left alone.

Become a member and gain immediate access to...

  • Active Community: Ever join a community only to find it DEAD? Not at Fastlane! As you can see from our home page, life-changing content is posted dozens of times daily.
  • Exclusive Insights: Direct access to MJ DeMarco’s daily contributions and wisdom.
  • Powerful Networking Opportunities: Connect with a diverse group of successful entrepreneurs who can offer mentorship, collaboration, and opportunities.
  • Proven Strategies: Learn from the best in the business, with actionable advice and strategies that can accelerate your success.

"You are the average of the five people you surround yourself with the most..."

Who are you surrounding yourself with? Surround yourself with millionaire success. Join Fastlane today!

Join Today

Welcome to an Entrepreneurial Revolution

The Fastlane Forum empowers you to break free from conventional thinking to achieve financial freedom through UNSCRIPTED® Entrepreneurship where relative value and problem-solving are executed at scale. Living Unscripted® isn’t just a business strategy—it’s a way of life.

Follow MJ DeMarco

Get The Books that Change Lives...

The Fastlane entrepreneurial strategy is based on the CENTS Framework® which is based on the three best-selling books by MJ DeMarco.

mj demarco books
Back
Top Bottom