Your first c# app on OpenStack

16
Your First C# App on OpenStack A Story about OpenStack SDKs

Transcript of Your first c# app on OpenStack

Page 1: Your first c# app on OpenStack

Your First C# App on OpenStackA Story about OpenStack SDKs

Page 2: Your first c# app on OpenStack

About

2

Page 3: Your first c# app on OpenStack

Agenda

3

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

Page 4: Your first c# app on OpenStack

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

Page 5: Your first c# app on OpenStack

Cloud Application Architecture Principles

5

• Modularity & Micro-service

• Scalability

• Fault tolerance

• Automation

• Programmatic Interface (APIs)

Page 6: Your first c# app on OpenStack

OpenStack SDKs

6

• OpenStack Clients

• osc

• python clients

• Why SDKs?

• All Services in a single library

• Languages

• Java

• Node.js

• Python

• Ruby

Page 7: Your first c# app on OpenStack

Work with OpenStack Clients

7

Page 8: Your first c# app on OpenStack

Microsoft .Net

8

• Languages

• Visual C++ .NET

• Visual C#

• Visual Basic .NET

• …

• Tools

• Visual Studio .NET

• Xamarin Studio

• Mono Develop

Page 9: Your first c# app on OpenStack

.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. 😟😤

Page 10: Your first c# app on OpenStack

First C# App

10

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

• Authentication

• Images

• Flavors

• VM Instances

• Provisioning

Page 11: Your first c# app on OpenStack

Dependencies

11

Page 12: Your first c# app on OpenStack

Authentication

12

Page 13: Your first c# app on OpenStack

Get Images

13

Outputs:

Page 14: Your first c# app on OpenStack

Get Flavors

14

Outputs:

Page 16: Your first c# app on OpenStack

Provision or Destroy VM

16