How to Develop Cloud Applications for OpenStack using Murano, Part 2: Creating the Development Environment

The post How to Develop Cloud Applications for OpenStack using Murano, Part 2: Creating the Development Environment appeared first on Mirantis | The Pure Play OpenStack Company.
In part 1 of this series, we talked about what Murano is, and why you&;d want to use it as a platform for developing end user applications. Now in part 2 we&8217;ll help you get set up for doing the actual development,.
All that you need to develop your Murano App is:

A text editor to edit source code. There is no special IDE required; a plain text editor will do.
OpenStack with Murano. You will, of course, want to test your Murano App, so you&8217;ll need an environment in which to run it.

Since there&8217;s no special setup for the text editor, let&8217;s move on to getting a functional OpenStack cluster with Murano.
Where to find OpenStack Murano
If you don&8217;t already have access to a cloud with Murano deployed, that&8217;ll be your first task.  (You&8217;ll know Murano is available if you see an &;Application&; tab in Horizon.)
There are two possible ways to deploy OpenStack and Murano:

You can Install vanilla OpenStack (raw upstream code) using the DevStack scripts, but you&8217;ll need to do some manual configuration for Murano. If you want to take this route, you can find out how to install DevStack with Murano here.
You can take the easy way out and use one of the ready-to-use commercial distros that come with Murano to install OpenStack.

If this is your first time, I recommend that you start with one of the ready-to-use commercial OpenStack distros, for several reasons:

A distro is more stable and has fewer bugs, so you won’t waste your time on OpenStack deployment troubleshooting.
A distro will let you see how a correctly configured OpenStack cloud should look.
A distro doesn’t require a deep dive into OpenStack deployment, which means you can fully concentrate on developing your Murano App.

I recommend that you install the Mirantis OpenStack distro (MOS) because deploying Murano with  it can’t be more simple; you just need to click on one checkbox before deploying OpenStack and that’s all. (You can choose any other commercial distro, but the most of them are not able to install Murano in an automatic way. You can find out how to install Murano manually on an already deployed OpenStack Cloud here.)
Deploying OpenStack with Murano
You can get all of the details about Mirantis OpenStack in the Official Mirantis OpenStack Documentation, but here are the basic steps. You can follow them on Windows, Mac, or Linux; in my case, I&8217;m using a laptop running Mac OS X with 8GB RAM; we&8217;ll create virtual machines rather than trying to cobble together multiple pieces of hardware:

If you don&8217;t already have it installed, download and install Oracle VirtualBox. In this tutorial we’ll use VirtualBox 5.1.2 for OS X (VirtualBox-5.1.2-108956-OSX.dmg).
Download and install the Oracle VM VirtualBox Extension Pack. (Make sure you use the right download for your version of VirtualBox. In my case, that meansOracle_VM_VirtualBox_Extension_Pack-5.1.2-108956.vbox-extpack.)
Download the Mirantis OpenStack image.
Download the Mirantis OpenStack VirtualBox Scripts..
Unzip the script archive and copy the Mirantis OpenStack .ISO image to thevirtualbox/iso folder.
You can optionally edit config.sh if you want to set up a custom password or edit network settings. There are a lot of detailed comments, so it will not be a problem to configure your main parameters.
From the command line, launch the launch.sh script.
Unless you&8217;ve changed your configuration, when the scripts finish you’ll have one Fuel Master Node VM and three slave VMs running in VirtualBox.

Next we&8217;ll create the actual OpenStack cluster itself.
Creating the OpenStack cluster
At this point we&8217;ve installed Fuel, but we haven&8217;t actually deployed the OpenStack cluster itself. To do that, follow these steps:

Point your browser to http://10.20.0.2:8000/ and log in as an administrator using “admin” as your password (or the address and credentials you added in configure.sh).

Once you’ve logged into Fuel Master Node it lets you deploy the OpenStack Cloud and you can begin to explore it.

Click New OpenStack Environment.

Choose a name for your OpenStack Cloud and click Next:

Don’t change anything on the Compute tab, just click Next:

Don’t change anything on the Networking Setup tab, just click Next:

Don’t change anything on the Storage Backends tab, just click Next:

On the Additional Services tab tick the “Install Murano” checkbox and click Next:

On the Finish tab click Create:

From here you&8217;ll see the cluster&8217;s Dashboard.  Click Add Nodes.

Here you can see that the launch script automatically created three VirtualBox VMs, and that Fuel has automatically discovered them:

The next step is to assign roles to your nodes. In this tutorial you need at least two nodes:

The Controller Node &; This node manages all of the operations within an OpenStack environment and provides an external API.
The Compute Node &8211; This node provides processing resources to accommodate virtual machine workloads and it creates, manages and terminates VM instances. The VMs, or instances, that you create in Murano run on the compute nodes.
Assign a controller role to a node with 2GB RAM.

 Click Apply Changes and follow the same steps to add a 1 GB compute node. The last node will not be needed in our case, so you can remove it and give more hardware resources to other nodes later if you like.
Leave all of the other settings at their default values, but before you deploy, you will want to check your networking to make sure everything is configured properly.  (Fuel configures networking automatically, but it&8217;s always good to check.)  Click the Networks tab, then Connectivity Check in the left-hand pane. Click Verify Networks and wait a few moments.

Go to the Dashboard tab and click Deploy Changes to deploy your OpenStack Cloud.

When Fuel has finished you can login into the Horizon UI, http://172.16.0.3/horizon by default, or you can click the link on the Dashboard tab. (You also can go to the Health Check tab and run tests to ensure that your OpenStack Cloud was deployed properly.)

Log into Horizon using the credentials admin/admin (unless you changed them in the Fuel Settings tab).

As you can see by the Applications tab at the bottom of the left-hand pane, the Murano Application Catalog has been installed.
Tomorrow we&8217;ll talk about creating an application you can deploy with it.
The post How to Develop Cloud Applications for OpenStack using Murano, Part 2: Creating the Development Environment appeared first on Mirantis | The Pure Play OpenStack Company.
Quelle: Mirantis

Justin Bieber-Backed Shots Prioritizes Making Video For Other Platforms

Justin Bieber-Backed Shots Prioritizes Making Video For Other Platforms

Lele Pons, one of Shots Studios&; stars, with Benita, a character in the Shots series Awkward Puppets

Shots

Quality online video creators are gaining a tremendous amount of power now that Facebook, Twitter, Snapchat, and YouTube are all trying to fill their feeds with video content. And there may be no better lens for seeing this shift than through the transformation of Shots, the Justin Bieber-backed company known for its social app by the same name. In a striking move, the company is prioritizing producing video content for competing platforms, betting that creating quality online video will be a more lucrative business than running a social app used by millions.

Shots’s move comes at a time when social media is moving toward a future in which video is the dominant content format. In that world, each platform will only be as good as the video it hosts. And just like TV, the most compelling video is likely to draw the biggest audience. But good video costs money, and the platforms are already paying for it — Twitter is paying for football, Facebook is paying for live video — with more payments likely to come as the battle heats up.

“If I had to choice on betting on an app or a creator— I&039;m putting all chips on the creator,” Shots CEO John Shahidi told BuzzFeed News in an interview inside the company’s San Francisco headquarters. “While these companies all fight over features and stuff like that, I’d rather focus on content, because at the end of the day, that’s what they’re all going to need anyway.”

youtube.com

Shots is taking an untraditional approach to creating its videos. The company, under the new name Shots Studios, is signing promising social content creators, providing them with business guidance and resources like sets, writers and distribution, and then sharing video revenue with them. Six creators have already signed with Shots, each publishing at least one video a week, and the company plans to sign around six more by the end of the year.

Shots is currently publishing its videos only on YouTube, though it plans to publish on other platforms as well. Its creators’ videos regularly notch over 1 million views, with many reaching into multiple-million territory.

From Backyard To Bieber

Justin Bieber standing between John (left) and Sam Shahidi (right)

John Shahidi

Shots started in 2010 as a mobile gaming company called RockLive. Using an idea hatched when Shahidi and his brother were neighbors with then-USC quarterback Mark Sanchez, the two created celebrity-themed games based on Mike Tyson, Cristiano Ronaldo, and Usain Bolt. In late 2010, the Shahidis met Bieber, who partnered with them to develop the Shots app, which debuted in 2013. Shots, a selfie app that later evolved into one focusing on comedy content, still has millions of users. Building it taught the Shahidis how content spreads on social media and helped them master the type of content the under-30 crowd is interested in. And the two brothers found their first stars, then-emerging Vine creators Lele Pons and Rudy Mancuso, inside their app.

As Shots developed, the social landscape changed. Mobile internet speeds increased, smartphones became even more powerful, and social platforms with an eye on revenue began to push more and more video, now playable without dreaded buffering, into their streams. When they surveyed the social video landscape around them, with all its redundancies and feature copying, the Shahidis made a tactical decision: They&039;d rather be arms dealers than combatants in a war being fought with video.

Shots’ engineers, brought on to work on the app, review data like what themes dominate video comments, at what point people stop watching videos, and who people search for after landing on their videos. They then use this information to help find Shots its next big stars. The data team plays a big role in Shots’ decision-making. Once, relying on insights such as someone&039;s likes-to-comments ratio, it decided to turn down an Instagram user with 15 million followers while signing another with only 1 million.

“If I had to choice on betting on an app or a creator, I&039;m putting all chips on the creator” — Shots CEO John Shahidi

Shots&039; bet comes at a good time. Video creators are now more boldly exercising their power than ever before, winning real concessions from social platforms who are coming to terms with their users’ clout. Late last year, for instance, a handful of Vine creators walked into Twitter’s headquarters and demanded payment for their work. Twitter eventually relented, cutting Vine creators in on pre-roll ad revenue with a generous 70/30 split. And last month, YouTube angered its platform’s stars with a small tweak in the way it notifies them when their videos are no longer eligible for revenue sharing. The tweak, although very tiny, was enough to get the hashtag trending on Twitter, and sparked a dire warning to platforms regarding their treatment of video creators from the YouTube allstar Casey Neistat: “Loyalty is a very delicate thing,” he said.

Without quality video creators, these platforms would be stuck with the same amateur videos their competitors have, so their businesses rely on making the equation work for the creators too — something John Shahidi knows well. “At the end of the day, we’re seeing the same thing on every app. It’s the same picture, it’s the same selfie,” he said. “Are you going to get the regular, me walking down the street, me doing this, me hanging out with my family? Or are you going to get, fresh brand new sketch comedy or music? Which is what we’re providing right now.”

To The Moon

Not only does Shots provide logistical support, like sets and writers, but it’s able to regularly get its creators&039; videos in front of thousands of people via a built-in weapon: John Shahidi’s Twitter account. Shahidi is followed by over 500,000 rabid fans on Twitter. And, when he tweets, his followers go so nuts that if he mentions you, your notifications keep buzzing for weeks (I know, it’s happened to me). The phenomenon even has its own name: Getting Shahidi’d.

When Shahidi tweets a video, his highly engaged followers clicks through. “Everyone’s always wondered about this whole Shahidi thing; how does this turn into a business? Well, this is how it turns into a business,” Shahidi said. “We create great content, we’re responsible for the first 15% or so of the traffic, and from there, the content is great, and it’s just going to go viral.” Viral videos help add subscribers, which guarantee a recurring audience. Shots&039; first stars are doing pretty well: Pons now has 1.7 million subscribers, and Mancuso has 693,000. The company began dabbling in video content production in October 2015, so it knows what it&039;s doing.

youtube.com

If that’s not enough to attract great video creators, and get their videos moving, there’s also Justin Bieber. The recording superstar is involved in each signing decision, and meets each creator before they’re signed. “Justin is not just an investor, he’s a partner,” Shahidi said. “So he’s got to be on the same page as Sam and I. He’s got to really like the person. He’s got to appreciate their art, whether it’s comedy or music, and also like them as a person as well.” And there’s always a chance Bieber will appear in the creators’ videos as well, as he&039;s done in the past. Bieber has also tweeted a few videos himself.

In a letter to investors announcing the company&039;s shift and adoption of its new Shots Studios name, Shahidi said he&039;s going after millennials: “Why do we need a new MTV? Their viewership has dropped by 40% in the 12-34 demo over the last five years. Meanwhile, YouTube is becoming the new television for millennials, with its total watch time up by 60% over the past year.” Shots, Shahidi continued, is already generating over 1.5 million views a day on YouTube with an 80% retention rate. Not a bad start for a company on a mission to provide other platforms with video, and then watch as the dollars pour in.

Quelle: <a href="Justin Bieber-Backed Shots Prioritizes Making Video For Other Platforms“>BuzzFeed

8 new Config Rules to govern the configuration of critical AWS resources

AWS Config launched 8 new managed rules that automatically evaluate the configuration of important AWS resources:

IAM Password Policy: Checks whether the password policy for IAM Users meets the specified criteria. This rule codifies best practices, and you can further strengthen the policy.
RDS encryption: Checks whether storage encryption is enabled for your RDS DB Instances. Optionally, you can specify the KMS Key ID that should be used.
RDS Multi-AZ: Checks whether high availability is enabled for your RDS DB Instances.
RDS Backup: Checks whether RDS DB Instances have backups enabled. You can also check for expected backup windows and retention policies.
EBS Optimized EC2 Instances: Checks whether EBS optimization is enabled for EC2 Instance types that can be EBS optimized. This rule ensures best I/O performance for EBS volumes attached to these instances.
EC2 Instance Type: Checks whether EC2 Instances are of the specified set of types. For example, all EC2 Instances must be of type t2.small or m4.large.
Approved AMIs by ID: Checks whether running EC2 Instances are using the approved set of AMI IDs.
Approved AMIs by Tag: Checks whether running EC2 Instances are using the set of AMIs specified by Tag key/value on these AMIs.

Quelle: aws.amazon.com