Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Introduction

This is a sample project that shows how to use Google App Engine for deploying a an actix-web server written in Rust to serve a simple "Hello World!" page.

rust-musl-builder makes it possible to create small statically-linked Rust binaries. Google App Engine makes deploying projects written in any language so easy. This setup combines both tools to provide a startpoint for building an effortless, lightweight, performant and automatically scaling REST-Endpoint.

Structure

  • Dockerfile is used by Google App Engine as runtime for the project. It is very minimal and only includes the statically-linked binary.
  • build.sh uses rust-musl-builder to build the statically linked binary i.e., the server.

Instructions

  1. Build the project with $ sh build.sh. This requires Docker.
  2. Deploy the server with $ gcloud app deploy.

About

"Hello World!" with statically-linked actix-web server on Google App Engine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published