Your first c# app on OpenStack

Preview:

Citation preview

Your First C# App on OpenStackA Story about OpenStack SDKs

About

2

Agenda

3

• OpenStack FirstApp Program • OpenStack SDKs • Use C# To Develop Apps on OpenStack • Crazy Thoughts

OpenStack FirstApp

4

• The guide for developers who want deploy apps to OpenStack

• http://developer.openstack.org/firstapp-libcloud/

• Part of API-Site project

• http://git.openstack.org/cgit/openstack/api-site/

• Cloud application architecture principles

• http://developer.openstack.org/firstapp-libcloud/introduction.html

Cloud Application Architecture Principles

5

• Modularity & Micro-service

• Scalability

• Fault tolerance

• Automation

• Programmatic Interface (APIs)

OpenStack SDKs

6

• OpenStack Clients

• osc

• python clients

• Why SDKs?

• All Services in a single library

• Languages

• Java

• Node.js

• Python

• Ruby

Work with OpenStack Clients

7

Microsoft .Net

8

• Languages

• Visual C++ .NET

• Visual C#

• Visual Basic .NET

• …

• Tools

• Visual Studio .NET

• Xamarin Studio

• Mono Develop

.NET SDKs for OpenStack

9

• OpenStack .NET

• Support Vendors Cloud (Rackspace, HPCloud)

• Not Fully support OpenStack APIs

• OpenStack SDK .NET

• OpenStack Official Project in Stackforge

• No longer maintained. 😟😤

First C# App

10

http://developer.openstack.org/draft/firstapp-dotnet/getting_started.html

• Authentication

• Images

• Flavors

• VM Instances

• Provisioning

Dependencies

11

Authentication

12

Get Images

13

Outputs:

Get Flavors

14

Outputs:

Thank Youliang.bo@99cloud.net

Provision or Destroy VM

16

Recommended