Heroku is a platform as a service that allows developers to deploy and scale applications without managing infrastructure. Developers can build, run, and operate applications entirely in the cloud. With Heroku, developers can focus on coding features for their apps rather than spending time on systems administration tasks like hardware provisioning, patching, backup etc. Heroku provides automatic scaling of dynos (the lightweight virtual containers that power apps on Heroku), add-ons for common services like Postgres databases and monitoring, and integrated developer tools to simplify deployment and management of cloud applications.
2. Safe harbor
Safe harbor 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.
4. Apps Require Infrastructure
What if a customer wants to deliver apps outside of
their Salesforce Org ?
Servers Networking Operations
5. Apps Require Infrastructure
Servers Networking Operations
Managing your own Data Center is expensive
Provisioning Servers is often a bottleneck,
even when they are virtualised
6. Heroku: The Developers Choice
“Heroku lets us focus on our app and deliver more
value to customers.” – Aaron Peckham, Urban Dictionary
7. Example apps on Heroku
Retail
Media
Marketing
Campaigns
Customer &
Web Sites
E-Commerce &
Media
Mobile &
SaaS Apps
App
Portfolios
success.heroku.com
8. SolutionChallenge
A highly-scalable system
Supporting over 1 million customers
Processing 3 million payments
Thousands of payment partners
- Allow people to buy food & provisions
when nothing works
- Fast response times
- No down-time
Hurricane Sandy proof
payments via your mobile
9. SolutionChallenge
NEB bio-freezers provide live enzymes for genomic
research in labs around the world
Heroku + Force.com connects
NEB to customers with live
support and bi-directional
access to inventory and usage
for automated restocking
Manual process of distribution,
inventory control and customer
engagement created business
inefficiencies
10. Proven Success
5 Billion
Requests per day
4+ Million
Apps Created
125+
Add-on Services
“Heroku enables us to build, test and ship faster
than we ever would be able to otherwise"
– Jay Stakelon, VP of Product, Fullscreen
11. Heroku is the developers’ choice
“I recommend Heroku to anyone that wants to spend
time working on their product and not on servers.”
– Ryan Twomey, Lead Platform Engineer, LevelUp
13. What is Heroku?
Database
Enterprise grade
Postgres as a service
Add-ons
Marketplace for data
stores and app services
Dynos
Run virtually any
language at any scale
Everything you need to build, run and scale customer apps
14. Connected
easy linking of the Heroku Postgres database
driving your apps with your Salesforce Org
Transforming
customer data translated into business
applicable information
Managed
2-way synchronization of high volumes of
data at a sustainable rate
Heroku1 Connect
Heroku & Force.com
16. Heroku core language support
Ruby, Java, NodeJS & Python
Virtually every language you can think of is supported by
community buildpacks
https://devcenter.heroku.com/articles/third-party-buildpacks
17. Developer driven deployment
Deploy using Git version control
- the most popular software versioning tool for developers
git push heroku master
18. Continuous Deployment
Easy to deploy changes, so developers deploy smaller
changes more often
- quickly understand the value of software you create
27. Repeatable deployment
You app is deployed from the code in your Git repository
git push my-app-test master
git push my-app-staging master
Establish a complete set of consistent
environments to support your development
28. Consistent Environments
Buildpacks ensure consistency across environment setups
Test
Environment
Staging
Environment
Production
Environment
Environment variables used for specific database connections,
services, etc.
42. Scaling your apps on Heroku
Dynos can be spun up on demand, scaling resources almost instantaneously
heroku ps:scale web=10
heroku ps:scale web=0
Dynos can also be scaled down instantaneously when not needed
43. Scaling your apps on Heroku
Dynos can run different processes, enabling fine grain scaling
heroku ps:scale web=10
heroku ps:scale background=3
Heroku ps:scale queue=1
Web processes listen to http[s] requests, other are background processes
45. Performance Dynos - Px
Have a whole block of resources to scale your Heroku app
- routing latency advantages when you scale past 10 dynos
heroku ps:resize web=PX
https://blog.heroku.com/archives/2014/2/3/heroku-xl
49. Managing Heroku infrastructure
Dynos are automatically patched for security vulnerabilities
- a new dyno is established before the current one is decommissioned
- requests are automatically routed to the new dyno
Unresponsive & run-away processes have their dyno “recycled”
New DynoCurrent Dyno
Current
Slug
50. Production access without the risk
Connect via secure shell to a copy of your Production app
Temporary
dyno
Production
dyno
heroku run bash
Current
Slug
55. Fast Rollbacks
Roll-forward a previously working deployment
- allowing time to fix the root cause of a deployment issue
Roll-forward dyno
Version 22
(cloned from v20)
Production Dyno
Version 21
heroku releases
heroku releases:info 20
Heroku releases:rollback 20
56. Fast Rollbacks
You can see your release history via the command line or the
Heroku dashboard
64. 12 Factor App
Even if your platform is scalable, it does not mean your app is
- or it may not scale efficiently
12factor.net
Heroku engineers defined a set of principles to help you create and manage a
highly scalable application.
65. Heroku1 Connect In action
Automated syncronisation between Heroku
Postgress and your Salesforce Org
www.heroku.com/1
66. Heroku1 Connect
Heroku
Salesforce Org
Auto synchronization of data
Customer
facing
App /
website
Customer data
captured
Understanding
about your
customers
Turn customer interaction to valuable business insight
83. Heroku1 Connect Summary
Get a single view of all your customer data
- from every single touch point you create
- connecting only that data that will provide value
An easy service to configure & monitor
- ensuring you maximize the resources of your Salesforce
Org
Save time & costs by not building your own solution
- no value in building & maintaining commodity services
84. Heroku Summary
Developer driven deployment
- using tools developers are used to using
Easy scaling to support your growth
- scale quickly and easily view your usage
Save time & costs by building on Heroku services
- reduce the operations effort and build innovate apps
quickly
85. Try Heroku for yourself
Learn more at:
http://heroku.com/
Getting started with Heroku guides:
http://developers.salesforce.com
Notas del editor
Apps obviously require infrastructure to run on and someone needs to commission and manage that infrastructure. The infrastructure needs to be established quickly to meet growth in the business and deliver a level of trust through reliability and security.Which parts of managing your own infrastructure provides value or can be done so more effectively than service providers?Can you provide an easy way to consume this infrastructure whist keeping the flexibility of a traditional server?
Apps obviously require infrastructure to run on and someone needs to commission and manage that infrastructure. The infrastructure needs to be established quickly to meet growth in the business and deliver a level of trust through reliability and security.Which parts of managing your own infrastructure provides value or can be done so more effectively than service providers?Can you provide an easy way to consume this infrastructure whist keeping the flexibility of a traditional server?
Apps obviously require infrastructure to run on and someone needs to commission and manage that infrastructure. The infrastructure needs to be established quickly to meet growth in the business and deliver a level of trust through reliability and security.Which parts of managing your own infrastructure provides value or can be done so more effectively than service providers?Can you provide an easy way to consume this infrastructure whist keeping the flexibility of a traditional server?
Build scripts provide a standard way to deploy your apps over and over again. Every time you push to heroku a new environment is created
Build scripts provide a standard way to deploy your apps over and over again. Every time you push to heroku a new environment is created
Build scripts provide a standard way to deploy your apps over and over again. Every time you push to heroku a new environment is created
Build scripts provide a standard way to deploy your apps over and over again. Every time you push to heroku a new environment is created
Build scripts provide a standard way to deploy your apps over and over again. Every time you push to heroku a new environment is created
The deployment version is taken from the Git commit number
use environment variables to configure database connections, etc.
Team deployment around Heroku, using Github as an example of how to collaborate on code effectively.Heroku do not recommend using the HerokuGit repository as the canonical source code repository.
Team deployment around Heroku, using Github as an example of how to collaborate on code effectively.Heroku do not recommend using the HerokuGit repository as the canonical source code repository.
You can manage your 3rd party relationships at the code and app level easilyYou can selectively give scaling access to people in the org, so that 3rd party developers can only push and scale specific apps
Build scripts provide a standard way to deploy your apps over and over again. Every time you push to heroku a new environment is created
Build scripts provide a standard way to deploy your apps over and over again. Every time you push to heroku a new environment is created
Build scripts provide a standard way to deploy your apps over and over again. Every time you push to heroku a new environment is created
Build scripts provide a standard way to deploy your apps over and over again. Every time you push to heroku a new environment is created
Build scripts provide a standard way to deploy your apps over and over again. Every time you push to heroku a new environment is created
Some advanced user roles are planned for Heroku Orgs
Apps in an HerokuOrganisation can be locked to prevent collaborators joining without being invited by the current collaborators.
You can manage your 3rd party relationships at the code and app level easilyYou could set up an Heroku Org with another company and share services at the app level. You could publish apps to the Org and selectively give access to the 3rd party you are working with. Or just allow the 3rd party to publish their apps within the org.Or you could do the reverse. The 3rd party owns the org and you can push any commodity apps and services to them easily.
. By abstracting away the infrastructure, Heroku lets developers focus on their application and not on servers. Using known tools like Git and the command line, developers can instantly and continuously deploy their application to the cloud. By leveraging a broad catalog of add-ons, developers can accelerate their development and quickly add features to their applications.A simplified definition of resourcesRuns one or more application processesRequires no patching or other maintenance a typical (virtual) server would need
. By abstracting away the infrastructure, Heroku lets developers focus on their application and not on servers. Using known tools like Git and the command line, developers can instantly and continuously deploy their application to the cloud. By leveraging a broad catalog of add-ons, developers can accelerate their development and quickly add features to their applications.A simplified definition of resourcesRuns one or more application processesRequires no patching or other maintenance a typical (virtual) server would need
. By abstracting away the infrastructure, Heroku lets developers focus on their application and not on servers. Using known tools like Git and the command line, developers can instantly and continuously deploy their application to the cloud. By leveraging a broad catalog of add-ons, developers can accelerate their development and quickly add features to their applications.A simplified definition of resourcesRuns one or more application processesRequires no patching or other maintenance a typical (virtual) server would need
Every HerokuDyno is recycled every 24 hours. This ensures any patches or upgrades to the underlying system (eg. OS) are applied.If there is a problem with the process running on a dyno, eg. It fails to respond in a timely manor or consumes all its memory then a new dyno is created from the current application slug and requests are routed to this new dyno. The existing dyno is asked to kill its running processes gracefully and is then decommissioned.Creating a new dyno from an application slug is almost instantaneous, however your application process may take a few seconds to start up. The quicker your application starts the sooner your new dyno is able to handle requests.
Heroku can give you an almost instantaneous rollback, without the need for a new deployment. You can view all the previous releases of your app on Heroku from the command line using heroku releases. You can see the details of each release to help you determine the release to roll back to.Once you have choses the most appropriate release to roll back to, the command herokurleases: rollback number will create a new deployment from the slug already created from the version number release you specified. This slug was stored in local storage (relative to your app deployment – an Amazon S3 bucket). This slug creates a new release version.This approach gives you a fast way to back out of a error-prone app deployment. It does not take care of any database rollback, so you may want to put your app in maintenance mode. This approach also does not fix the error for you. So if there is an issue with the code, you should fix it and check that code fix into Git and push it up to the Heroku repository to create a new deployment version (version 23).
Heroku can give you an almost instantaneous rollback, without the need for a new deployment. You can view all the previous releases of your app on Heroku from the command line using heroku releases. You can see the details of each release to help you determine the release to roll back to.Once you have choses the most appropriate release to roll back to, the command herokurleases: rollback number will create a new deployment from the slug already created from the version number release you specified. This slug was stored in local storage (relative to your app deployment – an Amazon S3 bucket). This slug creates a new release version.This approach gives you a fast way to back out of a error-prone app deployment. It does not take care of any database rollback, so you may want to put your app in maintenance mode. This approach also does not fix the error for you. So if there is an issue with the code, you should fix it and check that code fix into Git and push it up to the Heroku repository to create a new deployment version (version 23).
Heroku has over 100 services and datastores available via addons.heroku.com
I am unsure if the command “herokupg:wait”
Click on the names of the addons in order to configure them. So co start using Heroku1 Connect, click on the herokuconnectaddon name.(Note: this screenshot was taken before the application was deployed)
This is the first pop-up dialog you see when you click on the herokuconnectaddon in your Apps heroku dashboard (see previous slide).
There are two rows of data (records) in the Salesforce Org for Plant. As soon as the mapping is complete, Heroku1 connect will synchronise the data (at least that is what it seems like happens).Note that when viewing the Activity dashboard then Heroku1 connect will synchronise all changes every 3 minutes, rather than the default 10 minutes.Customers are requesting to be able to configure the time duration between synchronisation from within the dashboard settings.
You can still access your HerokuPostgress database using the typical developer tooling, eg. Postress Admin (pictured), Postgres command line shell, etc.