3. 3 by
PaaS = Platform as a Service
Облачная платформа для приложений
Разработка Развёртывание Запуск
Экономия времени
и денегРазработка
приложений
Нажимаем
Deploy, и
ваше
приложение
в облаке!
4. 4 by
Современные задачи ИТ
●
Зачастую IT не успевает за ростом потребностей заказчиков IT
●
Постоянная потребность в новых сервисах (новых приложениях)
●
Наискорейший вывод систем в промышленную эксплуатацию
5. 5 by
OpenShift is
PaaS by Red Hat
Многоплатформость
Автомасштабирование
Открытый код
Enterprise уровень
Безопасноть
На базе стэка
Red Hat
6. 6 by
Как использовать OpenShift?
СХД
(RHS)
“ЖЕЛЕЗО”
(x86)
ВИРТУАЛИЗАЦИЯ
(RHEV)
ОПЕРАЦИОННАЯ С-МА
(RHEL)
ПЛАТФОРМА
(JBOSS, PHP, RUBY, ETC)
ПРИЛОЖЕНИЕ
Публичное
облако
Приватное
облако
Разра-
ботчик
Разра-
ботчик
Обслу-
живает
Red Hat
IT предо-
ставляет
Автома-
тизирует
OpenShift ,
IT контро-
лирует
8. 8 by
RHEL RHEL
• Self-Service
• On-Demand
• Automated
• Elastic
Web Console
Eclipse IDE
Cmd Line
Broker Node Node Node
RHEL
JBoss MySQL
Public / Hybrid / Private / Virtualization / Bare Metal
Архитектура OpenShift
-Самообслуживание для разработчиков
-Автоматизация для сопровождения
9. 9 by
Разработчик выбирает как работать с
OpenShift
Интеграция с IDE
Web-консольУтилиты
Командной
строки
REST APIs
10. 10 by
Любите командную строку?
Клиент rhc для OpenShift
1.Создаю приложение
rhc app create andreysapp php-5.4
2.Пишу код
<?php
echo date(l jSof F Y h:i:S A');
?>
3.Закачиваем код
git add .
git commit -am “time.php”
git push
4. http://andreyapp-andrey.openshift.example.com
5.Готово!
11. 11 by
Стратегия Red Hat в PaaS
Публич-
ный
сервис
PaaS
ПО для
построения
частного
облака
PaaS
Открытый
проект
создания
PaaS
13. 13 by
Что нового в OpenShift Enterprise 2.2
Картридж Ruby 2.0
Oo-install поддерживает HA
Cartridge to Gear Profile Relationship Option
Выбор региона в rhc и браузере
Документирована X509 аутентификация
DYN and Infoblox DNS модули
Картридж Fuse AMQ и Fuse
Настройка HA при помощи RHEL7 HAProxy, nginx и F5
Работа с IPv6
http://[2001:db8:0:1]:80
14. 14 by
Технологии OpenShift v3
Стандартный API
контейнеров
Оптимизированная под
контейнеры ОС
Больше сервисов и
фреймворков
Индустриальный
стандарт стека PaaS
15. 15 by
В чем инновации?
Новая ОС
– RHEL 7 + Atomic vs. RHEL 6
Новая модель контейнера
– Docker vs. v2 “Gears”
Новый оркестратор
– Kubernetes vs. v2 “Broker”
Новый формат
– Docker images vs. v2 “Cartridges”
Новый уровень маршрутизации
– Platform routing layer vs. v2 Node-based routing
Больше сервисов для разработчика
So, what is PaaS?
As noted, PaaS stands for Platform-as-a-Service. Gartner refers to PaaS as a “Cloud Application Platform”. What they mean is that PaaS is a service that allows you to easily deploy and run applications in the Cloud.
With a PaaS, developers only need to focus on designing and coding your application.
With the push of a button, you can take your fresh code and deploy it to the Cloud. The PaaS will provide all the infrastructure, middleware, and management that is needed for your app to run. All behind the scenes to you.
Utilizing a PaaS can allow you to save both time and money in your app dev process.
&lt;next slide&gt;
But what problem does PaaS really solve?
Let’s talk about the challenges that IT has today and a bit about how PaaS can help.
In today’s economic environment, every commercial business, non-profit organization, and government agency is struggling with how to do more with less. Businesses want to increase market share and revenue by launching new services their consumers demand. Government agencies are continuously pressured to provide more and better services to their constituencies. Ultimately, this demand for new and increased services creates pressure on IT to deliver these services in order to support the desired growth. And, in today’s world, new services are most often brought to market in the form of new applications, whether they are web apps, mobile apps, social apps, etc..
In order to produce at this scale and velocity, IT desperately needs faster time to market for applications. IT needs to accelerate their processes and increase productivity. IT can do this by automating systems and processes and standardizing developer workflows. Essentially turn IT into a modern manufacturing plant to Streamline and Accelerate IT Service Delivery.
&lt;next slide&gt;
OpenShift is a platform as a service from Red Hat.
It is a multi-language, auto-scaling, self-service, elastic cloud application platform built on a proven stack of Red Hat technologies,
&lt;next slide&gt;
So, this all sounds great, but how can I get my hands on OpenShift today?
Well there are several ways…
OpenShift OnLine is available today as a Hosted Public PaaS service. Red Hat manages and maintains the entire stack except for the Applications running on the PaaS. OpenShift OnLine is in “Developer Preview” today which means it is free to try and use with a free account limited to a fixed set of resources.
OpenShift Online has been running at massive scale for 18 months supporting 100’000s of applications.
And now, Red Hat is taking this time-tested OpenShift technology and making it available for on-premise deployments as OpenShift Enterprise, a software package that can be implemented either on-premise in the datacenter, or in a Private hosted Cloud. OpenShift Enterprise will bring the benefits of the OpenShift PaaS architecture to the enterprise but also allow the Enterprise IT department to control the implementation and function of the PaaS. Openshift Enterprise will be ideal for Enterprises that have security, data-privacy, governance or compliance restrictions.
OpenShift Enterprise is available from Red Hat on a subscription basis like other Red Hat products.
&lt;next slide&gt;
OpenShift provides developers with the development tools that they need to do their job such as IDE integration, Source Code control, Build management, and Continuous Integration. In addition OpenShift gives them their choice of open source languages, frameworks, and middleware to code their applications in. This allows Developers to choose the best language for the task at hand. This slide shows the wealth of languages, frameworks, tools, applications, vendors, and cloud providers that are part of the OpenShift family.
Whether you are a Ruby coder, or a Java EE programmer, OpenShift will help you be fast and efficient in your application development efforts.
&lt;next slide&gt;
OpenShift provides benefits to both Operations and Development organizations. For Developers, as we have seen, OpenShift brings a self service capability for provisioning application stacks so that they can focus on coding the applications that they need to build. For Operations, OpenShift also has great value because it brings automation and efficiency to make the life of the Operations team better. OpenShift commands this automation with cloud computing characteristics such as Self-Service, On-Demand, and Elasticity.
OpenShift leverages some powerful internal technologies including OpenShift Gears and OpenShift Cartridges to make all this happen.
&lt;next slide&gt;
OpenShift allows Developers to work the way they want to work, whether it is from the command line, through a web browser or via their IDE.
OpenShift makes this possible because all interaction with OpenShift happens over a set RESTful APIs. This allows the system to be controlled from any mechanism that can implement the API set.
&lt;next slide&gt;
But often we find that Developers are more comfortable working from the command-line. To support their needs, OpenShift provides a package of command-line tooling that provides the same full access and management capability as the web console.
Here’s an example of the small set of commands needed to quickly set up a Jboss EE application on OpenShift.
First we create the OpenShift Gear with the Jboss AS7 Cartridge installed.
Then we add the MongoDB Cartridge as a back-end datastore.
Next we copy the application EAR file into the deployments directly.
And add it to our Git repository
And finally type “Git Push” and the code gets pushed up to OpenShift, the appserver is restarted if needed, and the application becomes immediately live and accessible.
Pretty easy right?
&lt;next slide&gt;
In Red Hat fashion, we are leveraging the best of community-powered innovation to drive the development of OpenShift Origin. OpenShift Origin then becomes the “Upstream” project for Red Hat’s PaaS offerings, OpenShift Online, a public cloud PaaS, and OpenShift Enterprise, an on-premise private PaaS. These two enterprise-class PaaS solutions leverage the combination of the innovation provided by the community and the enterprise support provided by Red Hat. Whether you want to utilize PaaS in the public cloud, or on-premise, the OpenShift technology is available to you.
&lt;next slide&gt;