Deploying JEE to Heroku

  • Published on
    14-Jan-2017

  • View
    110

  • Download
    0

Transcript

<p>PowerPoint Presentation</p> <p>Deploying JEE to HEROKUBogdan Marian12 October 2016</p> <p>1</p> <p>About MeiQuest Java developer since 2015LinkedIn: https://www.linkedin.com/in/bmarianGitHub: https://github.com/satrapu</p> <p>Bogdan Marian</p> <p>2</p> <p>HerokuCloud application platformCedar stack (Heroku managed OS image)Ubuntu 14.04 LTSProcess model implemented via dyno manager Dyno = Linux containerConfigurations: web (HTTP only, must bind to PORT or be killed), worker (anything, except HTTP), one-off (heroku run command)Types: free, hobby, standard, performance, enterpriseA process is declared in a Procfile: : Heroku Elements (add-ons, buttons, buildpacks)Different languages (Java, PHP, Python, Ruby, etc.)Different databasesRelational: MySQL, PostgreSQL, SQLite, etc.NoSQL: Mongo DB, Redis, etc.Much moreHeroku CLIJava Different deployment models, including git and WARNo Java EE supportRun Java processes via: java jar *.jar</p> <p>General Information</p> <p>3</p> <p>WildFly SwarmJust-enough-appserverConstruction toolkit for minimalistic Java EE runtimes based on WildFly 10.1.0 Final application server UberjarRun Java EE applications via: java jar *-swarm.jarGeneral Information</p> <p>4</p> <p>DemoSource code: https://github.com/satrapu/iquest-keyboards-and-mice-brasov-2016CI/CD: https://drone.io/github.com/satrapu/iquest-keyboards-and-mice-brasov-2016/latestLive application: https://iq-kam-brasov-2016.herokuapp.com/demo</p> <p>Deploying JEE to Heroku</p> <p>5</p> <p>DemoOn Heroku sideCreate a free accountAdd a new applicationAdd a PostgreSQL databaseSetup Java specific config varsAdd Java buildpackOn developer machineInstall Heroku CLIInstall GitClone repoSetup Heroku Git remoteDeploy via Git command: git push heroku masterOptionally, on drone.io side (replaces git push )Create a free accountSetup build with Heroku deploymentUpload SSH key to Heroku accountClick the Build Now buttonSteps</p> <p>6</p> <p>Referenceshttps://github.com/satrapu/iquest-keyboards-and-mice-brasov-2016/blob/master/README.md#referencesHosted on GitHub</p> <p>7</p> <p>Q&amp;A</p> <p>8</p> <p> Copyright 2016, iQuest Group. All rights reserved. Thank You!iquestgroup.combusiness@iquestgroup.com</p> <p>9</p>

Recommended

View more >