Posting CloudForms Notifications to Slack

Keeping the whole IT team informed about events or actions in your IT infrastructure can be challenging. Many IT teams have turned to team messaging applications, like Slack, to improve internal team communications. CloudForms, with its flexible integration capabilities, can be connected to Slack to notify the team whenever important events happen.
The Event Switchboard in CloudForms exposes provider events to Automate, allowing automation based on any events. In this example, we will post Slack messages to a team channel whenever Kubernetes events are raised.

 
Slack Webhook and Ruby
In order to post messages to Slack, we first need a webhook and the associated access token, which is created via a Slack Button. During this process, the CloudForms-bot user account will be given the proper permissions to post messages. Next, we need client side code to interface to Slack. In this case, there is the slack-ruby-client which will need to be installed on the appliance, along with any prerequisites.
gem install slack-ruby-client

Reading the Event Stream and Posting a Message
The present event data is contained within the event_stream object and can be read easily, for example:
event_stream = $evm.root[‘event_stream’]
data = event_stream.full_data

p data[:event_type]
p data[:timestamp]
p data[:message]
Configuring CloudForms to post an event to Slack involves writing up a short ruby method to interface with Slack and then connecting that method to the events we would like posted. The channel we are posting to is defined in the calling method. Here is an example method used to connect CloudForms to Slack.
Next, we need to call this method whenever an event is triggered. To do this, we update the schema to invoke it for all events. In Automate explorer, navigate to the ‘Kubernetes’ Class, edit the Schema and add a relationship value to call the new method, ‘rel1’ in the example below.

Results
Now CloudForms posts a message to the team Slack channel whenever an event is triggered.

This is just one example of how CloudForms can be integrated into IT notification systems. Other examples could include raising SNMP traps, sending emails or creating ServiceNow records based on events.
Quelle: CloudForms

Announcing General Availability of Europe-based Azure AD B2C directories

Since its general availability in July 2016, organizations around the world have been connecting with millions of customers through the scale, reliability and flexibility of Azure AD B2C. Taking a step further to help organizations comply with industry regulations and data protection laws, we are pleased to announce the general availability of Europe-based Azure AD B2C directories. Read more about Azure AD B2C’s region availability and data residency.

The directory placement is determined based on the country selected by the administrator when creating an Azure AD B2C directory in the Azure portal. If a European country is selected, the Azure AD B2C directory will reside in European datacenters. For the rest of the countries/regions, the directory will be placed in the closest location among the North American and European Azure datacenters.

What’s next

Continue expanding Azure AD B2C’s global presence with directories that reside in Asia-Pacific and China.
Deliver multi-language support to allow organizations to deliver experiences to their customers in their own language. If you’d like to try out this functionality and provide feedback, send us a note at aadb2cpreview@microsoft.com

Resources to get started

Visit the Azure AD B2C web page
Learn more through our documentation and samples
Get help on Stack Overflow using the azure-ad-b2c tag.
Let us know what you’d like to see in Azure AD B2C via our UserVoice forum
Tweet us (@azuread)

Quelle: Azure

Hybrid Cloud just got easier: New Azure Migration resources and tools available

Most customers we talk with are using a Hybrid Cloud approach to take advantage of the cloud and their existing applications and infrastructure. Whether you’re considering migrating some or all your applications to the cloud, the transition from on-premises requires careful planning. You need to understand how much it will cost, how to size your environment, what virtual machine options to choose, and more – and you want to do all this in the smartest and most cost-effective way possible.

With this in mind, today we are offering new tools and resources to help you tap into the power of the hybrid cloud to optimize your business:

A free Cloud Migration Assessment, which helps you discover the servers across your IT environment, analyze their hardware configurations, and provides a detailed report including the estimated cost benefits of moving to Microsoft Azure.
Starting today, you can activate your Azure Hybrid Use Benefit directly in the Azure Management Portal, simplifying your path to the cloud in the most cost effective way possible. With the Azure Hybrid Use Benefit you can save up to 40% with Windows Server licenses that include Software Assurance. All customers can use this easy provisioning experience to save money on Windows Server virtual machines in Azure.
Azure Site Recovery is another tool to make the journey to the cloud as easy as possible. This is a tool you can use to migrate virtual machines to Azure, and it’s a great way to move applications whether they are running on AWS, VMware, Hyper-V or on physical servers. You can already configure ASR to use your Hybrid Use Benefit with PowerShell, and today we’re announcing a new experience that will be available in Azure Site Recovery in the coming weeks that will allow you to tag virtual machines within the Azure portal itself. This capability will make it easier than ever to migrate your Windows Server virtual machines. 

With Azure, you get truly consistent hybrid capabilities across cloud and on-premises environments, offering you the flexibility to choose the optimal location for each application, based on your business requirements and reducing the complexity of moving to the cloud. Migrating virtual machines to the cloud is often one of the first steps organizations take in their cloud journey and is a natural part of any hybrid cloud strategy.

Learn more about the tools and resources available today by visiting the Azure Migration page. We’d love to hear from you on how we can continue making your path to the cloud easy and effective.
Quelle: Azure

Jupyter on OpenShift Part 2: Using Jupyter Project Images

The quickest way to run a Jupyter Notebook instance in a containerised environment such as OpenShift, is to use the Docker-formatted images provided by the Jupyter Project developers. Unfortunately the Jupyter Project images do not run out of the box with the typical default configuration of an OpenShift cluster.

In this second post of this series about running Jupyter Notebooks on OpenShift, I am going to detail the steps required in order to run the Jupyter Notebook software on OpenShift.
Quelle: OpenShift

WEBINAR Q&A: Modernizing Traditional Applications with Docker

This webinar covers the importance of “WHY NOW and HOW” to start modernizing traditional applications with Docker Enterprise Edition. Legacy applications often serve critical business needs and have to be maintained for a long time. The maintenance of these applications can become expensive and very time consuming. Some applications may have been written decades ago, grown to millions of lines of code  and the team that built and deployed the app may no longer be at your company. That can pose a challenge for app maintenance, security and support. Docker Enterprise Edition and the Image2Docker Tool presents a unique opportunity to these apps into containers to make them portable, more secure and cost efficient to operate.
View the recorded session below and read through some of the most popular questions
.

Q: Do I need to follow all the steps in the exact sequential manner or do all of them to qualify as modernizing traditional applications?
A:  Outside of the first step of taking the existing app and converting it to a container with Image2Docker, the decision to refactor, automate or deploy to new infrastructure is up to you. You can strictly lift and shift some apps, while others are candidates for refactoring or to be completely re-written. Modernization can also include migrating to a more modern infrastructure or adding modern services to an existing app. With Docker, managing and deploying apps are straightforward whether it is a microservice or monolith.
Q: What kind of apps does image2Docker tool support and how do I get it?
A: Image2Docker is a free tool for use by Windows and Linux teams to convert apps to dockerfiles. Whether it’s a .NET application running on Windows or a Java or LAMP stack application running on Linux, Image2Docker will help taking an existing, deployed application and convert it to a dockerfile. Of course, not all apps are equal when it comes to converting to images.
For Windows: 2-3 tier IIS and ASP.NET applications ,limited external dependencies. For Linux:  2-3 tier Java apps running frameworks suited for isolation within container , LAMP stack apps,limited external dependencies.
Q: Is image2Docker a part of Docker Enterprise Edition?
A: No, image2Docker is a free open source tool available for download. Anyone interested in this use case can download the Linux or Windows version. A Linux and Windows Server version is available.
Q: How do I manage and deploy my apps securely at scale?
A: Docker Enterprise Edition (EE) is the platform for enterprise container management and security. It is an application-centric platform that can orchestrate, accelerate and secure applications across the entire software supply chain, from development to production running on any infrastructure. Docker EE is a single pane of glass to manage and deploy your apps at scale, securely and efficiently.
Q: How is Docker EE licensed and where can I see key features included in Docker EE tiers?
A: Docker EE is licensed per node. A node is an instance running on a bare metal or virtual server. Docker EE is available in three tiers: Basic, Standard and Advanced to address a wide range of requirements. For more details visit www.docker.com/pricing.
Q: Can Docker EE  run within my enterprise or is it only run externally?
A: Docker EE can be deployed on-premises or in your VPC.
Q: How do I modernize from monolith to microservices?
A: There is a lot of interest in microservices apps which are discrete, distributed and independently maintainable blocks of functionality. Many organizations have this as a goal and the reality is that the first step is to modernize that app into a single container. The next step is to start refactoring the app and overtime one container can become hundreds. A recommended best practice is to start with functionality that changes most frequently, target that for refactoring and most importantly test, test, test.  
Continue your Docker journey with these helpful links:

Learn More about Docker Enterprise Edition
Try Docker Enterprise Edition for free
Learn more about image2Docker for Linux and Windows Server
Build your own images

Modernize Traditional Applications without rewriting code with Docker To Tweet

The post WEBINAR Q&A: Modernizing Traditional Applications with Docker appeared first on Docker Blog.
Quelle: https://blog.docker.com/feed/