SlideShare a Scribd company logo
1 of 20
Download to read offline
Docker on Heroku
Heroku Docker
tabe@salesforce.com
​Takashi Abe @ Platform Specialist
Forward-Looking Statements
​Statement under the Private Securities Litigation Reform Act of 1995:
​This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any
of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking
statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or
service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for
future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts
or use of our services.
​The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth,
interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible
mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our
employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com
products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of
salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most
recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information
section of our Web site.
​Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not
be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available.
Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
自 己 紹 介
(Takashi Abe)
Platform Specialist (@sho7650)
à HW à
à IT à
: Perfume/BABYMETAL/ /
Heroku
Platform as a Service
DBMS
OS
DBMS
OS
IaaS
(Infrastructure as a Service)
DBMS
OS
SaaS
(Software as a Service)
/
DBMS
OS
PaaS
(Platform as a Service)
24 /365
IaaS
Dyno Dyno
Data
Add-onsPayments
Email
SMS
Search
Analytics
Monitoring
Logging
Ruby
Node.js
Java
Python
PHP
Scala
Clojure
Postgres
Redis
Kafka
Heroku
The Twelve Factor App
→ CI/CD
• Git / Github
• Pipeline >
>
•
• Fork
/
項⽬ 説明
Private Spaces • DynoやDataなど、Herokuのアプリ実⾏環境をネット
ワーク的に分離された環境に構築
• ⽇本国内のデータセンター利⽤も可能
エンタープライズ
サポート
• 技術的な質問やトラブル時のサポートチケットに対して、
重要度に応じた応答時間のSLAを提供
• ⽇本語でのサポート対応を提供
• 導⼊時のアーキテクチャデザインやAdd-on選定といった
ご相談に⽇本⼈技術者が対応
Heroku Connect • Salesforceのオブジェクトとの双⽅向データ同期機能を
提供
Private Spaces
Heroku Connect
Postgres
Heroku Salesforce
Container Registry & Runtime
​Heroku Docker Registry Heroku Docker !!
Docker Heroku
1. Heroku
2. Heroku CLI
3. docker
buildpack ではなく、docker イメージでランタイムや
ミドルウェアを開発者が準備できるので、これまで
docker を利⽤していた開発者でも容易にデプロイが!
Heroku Docker
​Heroku !!
起動確認デプロイアドオン追加Herokuアプリ追加Docker アプリ準備
アプリ開発
git clone
アプリ準備 heroku create
データベース
ログ出⼒
監視ツール
ファイル保管
などなど
:
container:push heroku logs
170以上!?
​ “heroku container:push”
※ https://blog.heroku.com/introducing_heroku_docker_release_build_deploy_heroku_apps_with_docker
heroku login
heroku container:login
起動確認デプロイアドオン追加Herokuアプリ追加事前準備
heroku create
heroku addons:create
heroku container:push
heroku open
heroku アプリの作成と
アドオン追加は、⼀度の
実⾏でOK
Heroku のアドオンも
Docker から利⽤可能
‘heroku-docker’ “heroku docker”
Dockerfile
• $PORT Listen
• Network link
• Default working directory ‘/’ ‘WORKDIR’
• ‘CMD’ ENTRYPOINT
• ‘VOLUME’ ‘EXPOSE’ ‘STOPSIGNAL’ ‘SHELL’ ‘HEALTHCHECK’
$PORT Web
Heroku
• Dyno 24 +α
• 24
•
•
• Web 30
• Worker Dyno
• Twelve Factor App(https://12factor.net/ja/)
​Heroku
詳しくはこちらへどうぞ!!
https://devcenter.heroku.com/articles/limits
DEMO
​
Japan Heroku User Group
​https://herokujp.doorkeeper.jp/
次のステップへ...Trailhead
Heroku Enterpriseの基礎
Heroku Enterpriseをいつ
どのように使⽤するかに
ついての基礎を学習します
SalesforceとHerokuの
インテグレーション
Herokuのアプリケーションを
Salesforceに統合するための
パターンと⽅法を学びます
https://trailhead.salesforce.com/ja
Appendix
​Heroku References
Heroku
• Heroku Heroku CLI
• Heroku – Heroku Dev Center
• Heroku
• Heroku (Heroku Getting Started )
• Node.js Heroku
• Ruby Heroku
• Heroku - Java
• PHP Heroku
• Python Heroku
• Heroku CI/CD
Docker on Heroku のはじめ方

More Related Content

What's hot

Dallas Salesforce User Group Meeting - March 2011 (Sponsored by Statera)
Dallas Salesforce User Group Meeting - March 2011 (Sponsored by Statera)Dallas Salesforce User Group Meeting - March 2011 (Sponsored by Statera)
Dallas Salesforce User Group Meeting - March 2011 (Sponsored by Statera)
Kevin Richardson
 

What's hot (20)

モダンなイベント駆動型システム連携を学ぼう〜Platform Events 入門
モダンなイベント駆動型システム連携を学ぼう〜Platform Events 入門モダンなイベント駆動型システム連携を学ぼう〜Platform Events 入門
モダンなイベント駆動型システム連携を学ぼう〜Platform Events 入門
 
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTipsアドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
アドバンスドLightningコンポーネント:品質の高いコンポーネント開発のためのTips
 
IoTで成功を収めるための製品と戦略 〜 Salesforce IoT 〜
IoTで成功を収めるための製品と戦略 〜 Salesforce IoT 〜IoTで成功を収めるための製品と戦略 〜 Salesforce IoT 〜
IoTで成功を収めるための製品と戦略 〜 Salesforce IoT 〜
 
Dallas Salesforce User Group Meeting - March 2011 (Sponsored by Statera)
Dallas Salesforce User Group Meeting - March 2011 (Sponsored by Statera)Dallas Salesforce User Group Meeting - March 2011 (Sponsored by Statera)
Dallas Salesforce User Group Meeting - March 2011 (Sponsored by Statera)
 
Dreamforce18 update platform
Dreamforce18 update platformDreamforce18 update platform
Dreamforce18 update platform
 
Introduction to Einstein Bots
Introduction to Einstein Bots Introduction to Einstein Bots
Introduction to Einstein Bots
 
Easy No-Code Integrations with External Services and Visual Flow
Easy No-Code Integrations with External Services and Visual FlowEasy No-Code Integrations with External Services and Visual Flow
Easy No-Code Integrations with External Services and Visual Flow
 
Scale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in SalesforceScale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in Salesforce
 
Spring '18 開発者向け新機能
Spring '18 開発者向け新機能Spring '18 開発者向け新機能
Spring '18 開発者向け新機能
 
CodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web ComponentsCodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web Components
 
A Taste of Lightning in Action
A Taste of Lightning in ActionA Taste of Lightning in Action
A Taste of Lightning in Action
 
Summer '18 Developer Highlights
Summer '18 Developer HighlightsSummer '18 Developer Highlights
Summer '18 Developer Highlights
 
Gesture Controlled Interactions with Platform Events and IoT Explorer
Gesture Controlled Interactions with Platform Events and IoT ExplorerGesture Controlled Interactions with Platform Events and IoT Explorer
Gesture Controlled Interactions with Platform Events and IoT Explorer
 
#DF17Recap series: Make apps smarter with Einstein
#DF17Recap series: Make apps smarter with Einstein#DF17Recap series: Make apps smarter with Einstein
#DF17Recap series: Make apps smarter with Einstein
 
Lightning Platform Product Managers: Ask Us Anything!
Lightning Platform Product Managers: Ask Us Anything!Lightning Platform Product Managers: Ask Us Anything!
Lightning Platform Product Managers: Ask Us Anything!
 
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component PerformanceMaximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component Performance
 
#DF17Recap series: Integrate apps easier with the Salesforce platform
#DF17Recap series: Integrate apps easier with the Salesforce platform#DF17Recap series: Integrate apps easier with the Salesforce platform
#DF17Recap series: Integrate apps easier with the Salesforce platform
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS ConnectIntegrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS Connect
 
Build Engaging Community Experiences with Community Cloud
Build Engaging Community Experiences with Community CloudBuild Engaging Community Experiences with Community Cloud
Build Engaging Community Experiences with Community Cloud
 
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIsDreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
Dreamforce 2014 - Salesforce Python SDK for REST/SOAP APIs
 

Similar to Docker on Heroku のはじめ方

Similar to Docker on Heroku のはじめ方 (20)

Detroit ELEVATE Track 1
Detroit ELEVATE Track 1Detroit ELEVATE Track 1
Detroit ELEVATE Track 1
 
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, AnywhereData Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
Data Democracy: Use Lightning Connect & Heroku to Visualize any Data, Anywhere
 
再考PaaS 〜 Heroku最新情報で考える、2017年のPaaS選択基準 〜
再考PaaS 〜 Heroku最新情報で考える、2017年のPaaS選択基準 〜再考PaaS 〜 Heroku最新情報で考える、2017年のPaaS選択基準 〜
再考PaaS 〜 Heroku最新情報で考える、2017年のPaaS選択基準 〜
 
S1 Tour Paris Developpeurs
S1 Tour Paris DeveloppeursS1 Tour Paris Developpeurs
S1 Tour Paris Developpeurs
 
Wave : Analytics Cloudとは
Wave : Analytics CloudとはWave : Analytics Cloudとは
Wave : Analytics Cloudとは
 
Integration with the Salesforce App Cloud - Amsterdam 2016
Integration with the Salesforce App Cloud - Amsterdam 2016Integration with the Salesforce App Cloud - Amsterdam 2016
Integration with the Salesforce App Cloud - Amsterdam 2016
 
Lightning Components and Visualforce: Your Questions Answered
Lightning Components and Visualforce: Your Questions AnsweredLightning Components and Visualforce: Your Questions Answered
Lightning Components and Visualforce: Your Questions Answered
 
Elevate workshop track1
Elevate workshop track1Elevate workshop track1
Elevate workshop track1
 
Salesforce Labs - Hidden Gems on the AppExchange
Salesforce Labs - Hidden Gems on the AppExchangeSalesforce Labs - Hidden Gems on the AppExchange
Salesforce Labs - Hidden Gems on the AppExchange
 
Unleash the Power of Apex Realtime Debugger
Unleash the Power of Apex Realtime DebuggerUnleash the Power of Apex Realtime Debugger
Unleash the Power of Apex Realtime Debugger
 
Build lightning components with salesforce dx
Build lightning components with salesforce dxBuild lightning components with salesforce dx
Build lightning components with salesforce dx
 
Build custom user interfaces for your Salesforce data with the UI API
 Build custom user interfaces for your Salesforce data with the UI API Build custom user interfaces for your Salesforce data with the UI API
Build custom user interfaces for your Salesforce data with the UI API
 
Lightning Components - Advanced Features
Lightning Components - Advanced FeaturesLightning Components - Advanced Features
Lightning Components - Advanced Features
 
Txd19 speaker session template v1
Txd19 speaker session template v1Txd19 speaker session template v1
Txd19 speaker session template v1
 
Gaing New Business Intelligence with Salesforce IQ (Salesforce World Tour NYC)
Gaing New Business Intelligence with Salesforce IQ (Salesforce World Tour NYC)Gaing New Business Intelligence with Salesforce IQ (Salesforce World Tour NYC)
Gaing New Business Intelligence with Salesforce IQ (Salesforce World Tour NYC)
 
Adam Gross - The Second Decade of PaaS: What’s Next for Cloud Development
Adam Gross - The Second Decade of PaaS: What’s Next for Cloud DevelopmentAdam Gross - The Second Decade of PaaS: What’s Next for Cloud Development
Adam Gross - The Second Decade of PaaS: What’s Next for Cloud Development
 
Using the D3 JavaScript Library to Create Modular Visualizations
Using the D3 JavaScript Library to Create Modular VisualizationsUsing the D3 JavaScript Library to Create Modular Visualizations
Using the D3 JavaScript Library to Create Modular Visualizations
 
A Hands-On Demonstration for Connecting Products into the Salesforce Platform
A Hands-On Demonstration for Connecting Products into the Salesforce PlatformA Hands-On Demonstration for Connecting Products into the Salesforce Platform
A Hands-On Demonstration for Connecting Products into the Salesforce Platform
 
Developers Introduction To Lightning
Developers Introduction To LightningDevelopers Introduction To Lightning
Developers Introduction To Lightning
 
Platform Events: How developers and admins work together to implement busines...
Platform Events: How developers and admins work together to implement busines...Platform Events: How developers and admins work together to implement busines...
Platform Events: How developers and admins work together to implement busines...
 

More from Takashi Abe

Disaster Recovery
Disaster Recovery Disaster Recovery
Disaster Recovery
Takashi Abe
 
The Story of CPU
The Story of CPUThe Story of CPU
The Story of CPU
Takashi Abe
 
Presentation technic
Presentation technicPresentation technic
Presentation technic
Takashi Abe
 
勉強会の系譜
勉強会の系譜勉強会の系譜
勉強会の系譜
Takashi Abe
 
ストレージ友の会 #02 説明資料
ストレージ友の会 #02 説明資料ストレージ友の会 #02 説明資料
ストレージ友の会 #02 説明資料
Takashi Abe
 
インフラエンジニア向けプログラミング超初心者入門編
インフラエンジニア向けプログラミング超初心者入門編インフラエンジニア向けプログラミング超初心者入門編
インフラエンジニア向けプログラミング超初心者入門編
Takashi Abe
 
ストレージ友の会 #01
ストレージ友の会 #01ストレージ友の会 #01
ストレージ友の会 #01
Takashi Abe
 
グループディスカッションの巻
グループディスカッションの巻グループディスカッションの巻
グループディスカッションの巻
Takashi Abe
 

More from Takashi Abe (20)

Heroku でカンタンすぐに実現する CI/CD
Heroku でカンタンすぐに実現する CI/CDHeroku でカンタンすぐに実現する CI/CD
Heroku でカンタンすぐに実現する CI/CD
 
わたしの数少ない 小ヒット作を語ろうの巻
わたしの数少ない 小ヒット作を語ろうの巻わたしの数少ない 小ヒット作を語ろうの巻
わたしの数少ない 小ヒット作を語ろうの巻
 
王道ダイエットで痩せる話 #デブナイト
王道ダイエットで痩せる話 #デブナイト王道ダイエットで痩せる話 #デブナイト
王道ダイエットで痩せる話 #デブナイト
 
Microservicesを実現するために、インフラエンジニアと開発者がすべきこと
Microservicesを実現するために、インフラエンジニアと開発者がすべきことMicroservicesを実現するために、インフラエンジニアと開発者がすべきこと
Microservicesを実現するために、インフラエンジニアと開発者がすべきこと
 
暗号化の歴史
暗号化の歴史暗号化の歴史
暗号化の歴史
 
マイクロサービスで、
一歩先行くImmutable Infrastructureを目指そう
マイクロサービスで、
一歩先行くImmutable Infrastructureを目指そうマイクロサービスで、
一歩先行くImmutable Infrastructureを目指そう
マイクロサービスで、
一歩先行くImmutable Infrastructureを目指そう
 
TCP/IPでネットワークが繋がるわけ「で・ね・と」
TCP/IPでネットワークが繋がるわけ「で・ね・と」TCP/IPでネットワークが繋がるわけ「で・ね・と」
TCP/IPでネットワークが繋がるわけ「で・ね・と」
 
なぜ #airinterop は毎年開催されるのか(仮)
なぜ #airinterop は毎年開催されるのか(仮)なぜ #airinterop は毎年開催されるのか(仮)
なぜ #airinterop は毎年開催されるのか(仮)
 
qpstudy 2014.04 インフラエンジニアとは、なんだ
qpstudy 2014.04 インフラエンジニアとは、なんだqpstudy 2014.04 インフラエンジニアとは、なんだ
qpstudy 2014.04 インフラエンジニアとは、なんだ
 
お金と技術のCROSS
お金と技術のCROSSお金と技術のCROSS
お金と技術のCROSS
 
Qpstudy2013.07 devops
Qpstudy2013.07 devopsQpstudy2013.07 devops
Qpstudy2013.07 devops
 
Disaster Recovery
Disaster Recovery Disaster Recovery
Disaster Recovery
 
The Story of CPU
The Story of CPUThe Story of CPU
The Story of CPU
 
Presentation technic
Presentation technicPresentation technic
Presentation technic
 
勉強会の系譜
勉強会の系譜勉強会の系譜
勉強会の系譜
 
秋の夜長のトランスポート
秋の夜長のトランスポート秋の夜長のトランスポート
秋の夜長のトランスポート
 
ストレージ友の会 #02 説明資料
ストレージ友の会 #02 説明資料ストレージ友の会 #02 説明資料
ストレージ友の会 #02 説明資料
 
インフラエンジニア向けプログラミング超初心者入門編
インフラエンジニア向けプログラミング超初心者入門編インフラエンジニア向けプログラミング超初心者入門編
インフラエンジニア向けプログラミング超初心者入門編
 
ストレージ友の会 #01
ストレージ友の会 #01ストレージ友の会 #01
ストレージ友の会 #01
 
グループディスカッションの巻
グループディスカッションの巻グループディスカッションの巻
グループディスカッションの巻
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

Docker on Heroku のはじめ方

  • 1. Docker on Heroku Heroku Docker tabe@salesforce.com ​Takashi Abe @ Platform Specialist
  • 2. Forward-Looking Statements ​Statement under the Private Securities Litigation Reform Act of 1995: ​This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. ​The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. ​Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3. 自 己 紹 介 (Takashi Abe) Platform Specialist (@sho7650) à HW à à IT à : Perfume/BABYMETAL/ /
  • 5. Platform as a Service DBMS OS DBMS OS IaaS (Infrastructure as a Service) DBMS OS SaaS (Software as a Service) / DBMS OS PaaS (Platform as a Service) 24 /365 IaaS
  • 7. → CI/CD • Git / Github • Pipeline > > • • Fork
  • 8. / 項⽬ 説明 Private Spaces • DynoやDataなど、Herokuのアプリ実⾏環境をネット ワーク的に分離された環境に構築 • ⽇本国内のデータセンター利⽤も可能 エンタープライズ サポート • 技術的な質問やトラブル時のサポートチケットに対して、 重要度に応じた応答時間のSLAを提供 • ⽇本語でのサポート対応を提供 • 導⼊時のアーキテクチャデザインやAdd-on選定といった ご相談に⽇本⼈技術者が対応 Heroku Connect • Salesforceのオブジェクトとの双⽅向データ同期機能を 提供 Private Spaces Heroku Connect Postgres Heroku Salesforce
  • 9. Container Registry & Runtime ​Heroku Docker Registry Heroku Docker !!
  • 10. Docker Heroku 1. Heroku 2. Heroku CLI 3. docker buildpack ではなく、docker イメージでランタイムや ミドルウェアを開発者が準備できるので、これまで docker を利⽤していた開発者でも容易にデプロイが!
  • 11. Heroku Docker ​Heroku !! 起動確認デプロイアドオン追加Herokuアプリ追加Docker アプリ準備 アプリ開発 git clone アプリ準備 heroku create データベース ログ出⼒ 監視ツール ファイル保管 などなど : container:push heroku logs 170以上!?
  • 12. ​ “heroku container:push” ※ https://blog.heroku.com/introducing_heroku_docker_release_build_deploy_heroku_apps_with_docker heroku login heroku container:login 起動確認デプロイアドオン追加Herokuアプリ追加事前準備 heroku create heroku addons:create heroku container:push heroku open heroku アプリの作成と アドオン追加は、⼀度の 実⾏でOK Heroku のアドオンも Docker から利⽤可能 ‘heroku-docker’ “heroku docker”
  • 13. Dockerfile • $PORT Listen • Network link • Default working directory ‘/’ ‘WORKDIR’ • ‘CMD’ ENTRYPOINT • ‘VOLUME’ ‘EXPOSE’ ‘STOPSIGNAL’ ‘SHELL’ ‘HEALTHCHECK’ $PORT Web
  • 14. Heroku • Dyno 24 +α • 24 • • • Web 30 • Worker Dyno • Twelve Factor App(https://12factor.net/ja/) ​Heroku 詳しくはこちらへどうぞ!! https://devcenter.heroku.com/articles/limits
  • 16. Japan Heroku User Group ​https://herokujp.doorkeeper.jp/
  • 19. Heroku • Heroku Heroku CLI • Heroku – Heroku Dev Center • Heroku • Heroku (Heroku Getting Started ) • Node.js Heroku • Ruby Heroku • Heroku - Java • PHP Heroku • Python Heroku • Heroku CI/CD