Coder Social home page Coder Social logo

imarsman / nanovms Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 7.37 MB

A test of nanovms as pertains to deployment on GCP and a few things tied to a simple HTTP server.

License: Apache License 2.0

Go 62.73% HTML 28.26% JavaScript 9.01%
golang unikernel nanovms

nanovms's Introduction

nanovms

Test of nanovms with Golang. The goal of this project is to understand how to use ops and the gcloud CLI to build images, get them to the cloud, build instances, and successfully run them with proper port settings. Once this works it should be possible to create a cluster using an image and set the cluster to scale up and down with load.

This code is based on some that I wrote for an evaluation and for a personal project.

The goal of this small project is to explore the use of the ops and nanovms unikernel to deploy as an instance image on a cloud platform. I am using GCP in this case. Although it may run as compiled it is not ready to deploy yet.

I would like to explore both deployment as a standalone image and as an image in a managed instance cluster.

See https://nanovms.com

You can see things as they stand here. This may intermittently be unavailable if I am doing work on the code and redeploying.

What works

  • building native and linux
  • creating image the first time
    • image on GCP not deleted properly first so that does not get updated
  • creating instance from image
  • accessing unikernal instance via http://theip/transactions
  • Twitter API usage demo
  • GRPC demo getting set of xkcd comics that reload randomly
    • Currently issues tied to HTTP2 on GCP
  • nats.io messaging test - like grpc it is overkill but useful to learn with

What does not work

  • proper shutdown of existing instance and/or deletion
  • deletion of GCP image prior to creation of a new one
  • Having a new instance have opened ports without manual intervention

Once the proper steps are handled in the proper order it should work to automate building, image creation, instance creation, etc.

nanovms's People

Contributors

imarsman avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.