Flynn Open source PAAs platform installation trial

Source: Internet
Author: User



Flynn-host Bootstrapflynn is a good open source PAAs platform, based on Git and container technology, developing models and
Heroku is basically the same, and the way to build it is based on Heroku buildpacks


Installation

Official documentation tips are Ubuntu OS 16 and 14, so install it on Ubuntu

    • Shell
sudo bash < <(curl -fsSL https://dl.flynn.io/install-flynn)
    • Effect

      More long, waiting




    • Installed components
Install Flynn’s runtime dependencies
Download, verify and install the flynn-host binary
Download and verify filesystem images for each of the Flynn components
Install an Upstart job for controlling the flynn-host daemon
Initializing a cluster

Test using a single machine

    • Initialization
sudo flynn-host init --init-discovery




    • Start
sudo systemctl start flynn-host
sudo systemctl status flynn-host




    • Bootstrap system
export CLUSTER_DOMAIN=demo.localflynn.com
flynn-host bootstrap  --discovery https://discovery.flynn.io/clusters/410a77eb-63c6-495c-86df-c12aeef9e7f4


Note:
The cluster DNS cluster_domain=demo.localflynn.com needs to be configured first





    • Check


Since the use of flannel ensures that there are flanel and FLUNNBR0 network interfaces, as follows:





Use (Official demo)
    • Add a cluster

      Refer to your actual address specifically

flynn cluster add -p wshSAUMXH/TWU0WmmivA1IWlo+wLFtxY9IBArpwopW0= default  demo.localflynn.com  d0e2cd73215044088745f68da8a6c165
remarks:
You may need to add a local host
nodeip  demo.localflynn.com
nodeip   controller.demo.localflynn .com
nodeip  git.demo.localflynn .com
    • Clone code
git clone https://github.com/flynn-examples/go-flynn-example
    • Create an App
cd go-flynn-example
flynn create example




    • Git remote
git remote -v




    • Apps




    • Route




    • Add PG Dependency
flynn resource add postgres




    • View environment variables
flynn env
    • git push (git push triggers build and deployment)
git push flynn master




    • Access
curl -i example.demo.localflynn.com




Description


Flynn deployment and use is relatively simple, and heroku very similar, basically is the open source version of the Heroku


Dashboard interface
    • Interface




    • Login Token
      Flynn-a Dashboard env Get Login_token
Resources


Https://flynn.io/docs/installation/manual
Https://github.com/flynn/flynn
Https://flynn.io/docs/basics



<wiz_tmp_tag id= "Wiz-table-range-border" contenteditable= "false" style= "Display:none;" >



Flynn Open source PAAs platform installation trial


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.