- Implementing AppFog
- Matthew Nohr Isaac Rabinovitch
- 359字
- 2021-07-23 15:20:23
Creating and deploying a preconfigured application
The new apps page helps you create and deploy a preconfigured application. Applications can be in one of several programming languages, including Ruby, Python, Java, PHP, and Node.js. These languages can be used with various application frameworks and backend services. In this chapter, you will create and deploy a basic "Hello World" application written in the Ruby programming language and utilizing the Sinatra application framework. No knowledge of Ruby or Sinatra is needed for this initial step.
- Go to the New Apps page. If you've just created your account, you will go to the profile page and can then click on New App. Otherwise, go to console.appfog.com and click on create app.
- Choose an application platform. The first section of the New Apps page is a list of platforms labeled Step 1: Choose an application. Your first application will run on Ruby and Sinatra, so click that icon.
- Choose an infrastructure. This is the cloud hosting provider that will run your application. For this simple application, you can choose any infrastructure that supports Ruby. You will see a red exclamation mark on any infrastructures that do not support your selected application. Have look at the following screenshot for reference:
Note
Buttons for infrastructures that support Ruby have RUBY in a white-on-gray rectangle. Infrastructures that do not support Ruby will have a red exclamation mark.
- Choose an application name. This name will form part of a URL you can use to access your application in a Web browser. Click on Create App, as in the following screenshot:
Note
- The web form refers to the application name as a "domain" or a "subdomain" because it's part of a web site URL. You'll mainly use this name to identity the application to the command-line tool, so this book calls it the "application name".
- You can assign additional domain names to the application after you deploy it.
- After you click on Create App, you go to a page that describes the progress of the application towards creation, staging, and running. Once it is running, you can click on the Your App is ready link to see it:
推薦閱讀
- 腦洞大開:滲透測試另類實戰(zhàn)攻略
- 工業(yè)互聯(lián)網(wǎng)安全
- 同態(tài)密碼學(xué)原理及算法
- 防火墻技術(shù)與應(yīng)用(第2版)
- 黑客攻防與網(wǎng)絡(luò)安全從新手到高手(絕招篇)
- 從0到1:CTFer成長之路
- 數(shù)據(jù)安全與流通:技術(shù)、架構(gòu)與實踐
- 黑客攻防實戰(zhàn)從入門到精通
- 信息內(nèi)容安全管理及應(yīng)用
- 功能型密碼算法設(shè)計與分析
- 云計算安全:關(guān)鍵技術(shù)、原理及應(yīng)用
- 一本書讀透金融科技安全
- 反黑風(fēng)暴:黑客社會工程學(xué)攻防演練
- 大數(shù)據(jù)時代的智慧城市與信息安全
- Linux安全實戰(zhàn)