Giter Club home page Giter Club logo

pticloud's Introduction

PTI Cloud

PTI Cloud is an Open Source project with the purpose of allowing anyone to easily consume Azure SDKs from any kind of application, while at the same time offering a .NET Core based website where users would be able to handle Azure Tenants.

The goal of this project is to offer a solution to automate the hosting and resource creation of the major Cloud Providers(Azure, Amazon, Google). Starting with Microsoft Azure.

Getting Started

For development it is required to have the following

Azure SDKs

At the moment of the creation of this document most if not all of the Azure SDKs for .NET Core are still in preview, you can check Microsoft Azure SDK for .NET here

Configuring the application

Configuring PTICloud on a new Development Environment

Download the latest version of the app from the development branch.

The application requires you to have Azure AD and an application created on that Azure AD. The Azure AD application requires the following permissions

  • Microsoft Graph
    • Application Permissions
      • Read directory data
      • Read and write directory data
    • Delegated Permissions
      • Sign in and read user profile
      • Read all users' full profiles
      • Read directory data
      • Read and write directory data
  • Windows Azure Active Directory
    • Application Permissions
      • Read all hidden memberships
    • Delegated Permissions
      • Sign in and read user profile
  • Windows Azure Service Management API
    • Application Permissions
      • N/A
    • Delegated Permissions
      • Access Azure Service Management as organizaton users

Most of the application's configuration is in the appsettings.json file on the webproject. It contains the structure of what you would need to be able to log in with Azure. Replace the values with the correct ones for your selected Azure Tenant and Azure AD app.

For Development purposes it is strongly recommended not to use the appsettings, and instead take advantage of user secrets. To know how to use and configure user screts check

The application Startup.cs file is configured to look for User Secrets when in Development mode. Check the Startup class constructor at Startup.cs.

Once you have configure your Azure AD app and user secrets, you are ready to start with development.

Knowledge Base

This is the list of common errors found in the application and how to solve them

  • "error":"invalid_grant","error_description":"AADSTS65001: The user or administrator has not consented to use the application with ID...
    • This error happens when trying to get the mangement access token. Usually happens when you are not the tenant administrator or co-administrator.

How To Use

Check a sample of how to use the app on it's current development state (October 12, 2016) PTI Cloud How to Use Development Sample

pticloud's People

Contributors

pticostarica avatar efonsecab avatar

Watchers

Esteban Solano Granados avatar  avatar

pticloud's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.