Sesi Terakhir sebelum libur PHPID-OL memasuki Bulan Puasa Ramadhan. Kita akan ketemu lagi 19 April 2021.
Topik penutup yang akan diisi oleh Om Yusuf Hadiwinata, Praktisi Teknologi terkemuka dan ternama di lingkungan Industri IT Indonesia...
Ciyaooo.... Maju Terus PHP Indonesia
Link Video: https://fb.me/e/hzWbd0FeW
3. PHP INFRASTRUCTURE DEPLOYMENT EVOLUTION
Manually installing
PHP, MySQL and
Apache
Preconfigured
Packages such as
XAMPP
Virtual Machines
and Vagrant
Docker and
Container
Estimation: ~5 hour
Est: ~2 hours
Est: ~30 Minutes
Est: ~5 Minutes
90s
Early to mid
2000s
Late 2000s and
early 2010s
Early 2013
4. In the late 2000s and early
2010s, the trend among
developers was to move to a
virtual machine
Virtual Machine &
Vargrant Era
The idea was that you could run a copy of the real web
server’s operating system with all its installed
PHP programs — the exact same configuration and
setup as the actual web server you were going to
eventually deploy your website to. That way, when
you made the website live, there was no chance of it
not working
5. In the late 2000s and early
2010s, the trend among
developers was to move to a
virtual machine
Virtual Machine &
Vargrant Era
The main benefits of a virtual environment set up
using Vagrant are:
• Your development PC is not tied into a particular
environment. You can host multiple websites: one
using Apache, one using NGINX, one using PHP 7 and
one using PHP 8.
• When the site is made live, the website is being
uploaded to exactly the same environment that it
was developed on.
6. In the late 2000s and early
2010s, the trend among
developers was to move to a
virtual machine
Virtual Machine &
Vargrant Era
Despite the benefits, a Vagrant-based development environment
introduces its own set of restrictions and problems.
• System resources. Vagrant requires running a whole different
operating system. You need to download and install the operating
system that’s running on your web server, and all the packages it has
installed.
• You have to ensure the virtual machine and the server are in sync.
• It locks you tightly into a server OS and configuration.
• There is a very limited choice of available packages. Depending on
which Linux distribution your web server is running, you may not have
any choice over which version of PHP you run.
8. Docker solves all the problems
listed above?. But just what is
Docker and how does it work?
Introducing
Let’s start with the intro from Wikipedia:
"Docker is a set of platform as a service (PaaS) products that
use OS-level virtualization to deliver software in packages
called containers. Containers are isolated from one another
and bundle their own software, libraries and configuration
files; they can communicatewith each other through well-
defined channels."
The practical benefit to us as web developers is that Docker
allows us to package up everything the website needs, all the
PHP code along with the PHP executable, MySQL server and
NGINX server in addition to the configuration files used by
those programs.
9. Introducing
Docker Simplify deployment
On Traditional way, there is 6 step and 28 Linux command
need to be done after OS installation to deploy and Running
Laravel
how-to-install-and-configure-laravel-with-lemp-on-ubuntu-18-04
On Docker, only single commandto make Laravel up and
Running
# docker pull laravelphp/vapor:php80 ; docker run xxx
Or # docker pull laravelphp/vapor:php74
Or # docker pull laravelphp/vapor:php73
https://laradock.io/introduction/
Docker solves all the problems
listed above?. But just what is
Docker and how does it work?
11. We Need more than just containerize Solution, How about:
• Self Service:Templating, Web Console?
• Multi language support?
• Automation: like Deploy and Build?
• DevSecops collaboration/ CICD?
• Secure and Scalable production Inrastructure
• And others enterprise Features:Authentication, RBAC, Logging, etc
• Monitoring and Visibility?
journey-to-the-devops-automation-with-docker-kubernetes-and-openshift
12.
13.
14. Kubernetes is a Considerable
Step Forward in Software
Products Development
Kubernetes Solve
Enterprise Needs
15. Kubernetes is a Considerable
Step Forward in Software
Products Development
Kubernetes Solve
Enterprise Needs
What are the Kubernetes advantages?
The first and the foremost advantage of the Kubernetes as an external
service is that it DevOps-friendly. It definitely speeds up the processes
of software creation, test performance, and product releases.
Thus it has a time-saving benefit for IT specialists. It’s now much easier
to manage the version control and app lifecycle through the overall
infrastructure.
16. Platform-as-Code — Elevating
Kubernetes to next generation
PaaS
Kubernetes Solve
Enterprise Needs
Why is Kubernetes better than traditional PaaS?
The K8s does not put restrictions for the app types supported thus
providing wide opportunities for the purpose. It does not regulate the
frameworks, supported languages, or distinguishes between
«services» and «applications». If a solution can work in a container, it
will most likelywork well on Kube
17. Platform-as-Code — Elevating
Kubernetes to next generation
PaaS
Kubernetes Solve
Enterprise Needs
Source Code to Docker Image
Source-to-Image (S2I) is a tool for building reproducible Docker images.
It produces ready-to-run images by injecting application source into a
Docker image and assembling a new Docker image.
20. Platform-as-Code — Elevating
Kubernetes to next generation
PaaS
Kubernetes Solve
Enterprise Needs
Traffic Management
Yusuf Hadiwinata- Service MeshObservabilitywithKiali: https://youtu.be/QwIuBWTqaKg
21. Platform-as-Code — Elevating
Kubernetes to next generation
PaaS
Kubernetes Solve
Enterprise Needs
Observe and Visibility
YusufHadiwinata- Service meshobservabilityandconfiguration –kiali :https://youtu.be/Bg2nw6vUQys
23. Kubernetes is a
Considerable Step Forward in
Software Products
Development
Kubernetes Solve
Enterprise Needs
https://www.slideshare.net/isnuryusuf/journey-to-the-devops-automation-with-
docker-kubernetes-and-openshift
24. Any software solution created
nowadays should...
• be released fast, have portability and
Flexibility
• demonstrate viability and..
• be ready for easy scaling.
https://cloud.google.com/kubernetes-engine/kubernetes-comic/
ANDAPPS
26. 50
Discount
CLOUD SERVER
%
Periode
9 - 23 April 2021
Untuk 1 Bulan Pertama
Kode Promo :
PHPID50
(NEO Virtual Compute,
NEO Block Storage dan
NEO High Performace Storage)
EKSKLUSIF
untuk Member PHPID