티스토리 뷰
1. CF CLI 설치
Cloud Foundry CLI 는 Cloud Foundry 의 공식 Command Line Client 이다. 사용방법은 here 링크를 참조 (or run cf help
);
1) CF CLI 다운로드
Windows 64bit Installer 다운받은 후 설치
2) 설치 후, cf version 을 입력하여 아래와 같이 나오면 설치가 완료된 것
2. CF Account 생성/로그인
Cloud Foundry 를 사용하여 어플리케이션을 개발하기 위해서는 Cloud Foundry Certified Provider 를 통하여 Account 를 개설해야한다.
아래는 Clound Foundry 의 Certified Provider 리스트로, 이 중 IBM BlueMix 를 사용하여 account 를 개설하였다.
- AppFog from CenturyLink. Take advantage of a free trial on AppFog, CenturyLink’s platform based on Cloud Foundry. You also gain access to the broad array of services and resources for those developers that are new to cloud-native.
- Atos Cloud Foundry. Build, run and scale your next generation apps and microservices with a fully managed cloud application platform so you can spend more time on innovation and less on infrastructure, while significantly reducing the cost of your IT projects. You can also choose the commercially licensed and certified Atos Managed Pivotal Cloud Foundry.
- GE Predix. Built on Cloud Foundry, Predix from GE is optimized for secure connectivity and analytics at scale–in the Cloud and on the Edge. Sign up for a free trial to run your app on Predix and take advantage of Cloud Foundry for the industrial internet.
- IBM BlueMix. Build, migrate or extend your first app on BlueMix from IBM. Sign up for a free trial access to IBM’s cloud platform based on Cloud Foundry, and access IBM’s broad range of Services, including Watson.
- Pivotal Web Services. Sign up for a free trial to run your app on Pivotal’s public Pivotal Cloud Foundry. A fully managed version of Cloud Foundry that runs on a public cloud. You can get up and running immediately, with no credit card.
- SAP HANA Cloud Platform. Get started with a free trial of SAP’s HANA Cloud Platform Developer Edition to experience SAP’s comprehensive set of services and gain access to beta functionality. Additionally, the SAP HANA Cloud Platform starter edition for Cloud Foundry services in Beta allows you to develop, deploy and run services and applications.
- Swisscom Developer Portal. Sign up for a free trial on Swisscom’s Application Cloud. A fully managed version of Cloud Foundry offered on a public cloud that stores all of your data in Switzerland, in Swisscom’s state-of-the-art data centers.
1 https://www.ibm.com/cloud/cloud-foundry 링크로 들어가서 Sign up
2. 개정을 생성하면 IBM Cloud 의 여러 앱을 Lite 버전으로 개발해볼 수 있다.
Cloud Foundry 로 개발을 쉽게 할 수 있도록 여러 개발언어에 맞춘 환경 을 제공한다
3. 개정 생성 후, cmd 창에서 cf login -a 'api 이름' 명령어로 로그인한다.
API endpoint 는 Clound Foundry instance 의 Cloud Controller 에 해당하는 URL 로, cloud 환경을 제공하는 provider 에 따라 다르다.
cf login -a https://api.ng.bluemix.net
참고 -
Predix API endpoint : https://api.system.aws-usw02-pr.ice.predix.io
cf login 명령어를 입력한 후, 개정 생성 시 입력했던 email 주소와 비밀번호를 입력하여 로그인한다.
로그인에 성공하면 아래와 같은 화면이 나온다
'CloudFoundry' 카테고리의 다른 글
Cloud Foundry (0) | 2017.12.12 |
---|