Advanced Best Practice Guide for Multi-Server Deployments
Managing your infrastructure in the cloud allows development and DevOps professionals to focus more on automation. This maximizes product delivery and keeps your teams working smarter.
Using Helix Core on AWS is a powerful way to manage your infrastructure in the cloud.
By combining Helix Core and AWS, you can simplify global multi-server topologies. AWS capabilities can optimize Helix Core deployments, boost developer productivity, and compress cycle times.
Join Chuck Gehman and Josh Eror from Perforce to learn how to:
-Scale with proxies, replicas, and federated architecture.
-Implement high-performance CI/CD build servers.
-Economically manage archival storage and backup.
-Simplify replacements, upgrades, and testing.
-Set up HA/DR.
2. 2 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Go Global with Helix Core on AWS
1
2
3
4
Introductions
Helix Core and AWS: Benefits
Helix Core and AWS: Advanced Topologies
Q + A
3. 3 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Introductions
Chuck Gehman
Technical Marketing Engineer
Perforce
Josh Eror
Consultant, Professional Services
Perforce
5. 5 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Cloud Benefits
• Primary reasons companies want to use the cloud:
• Reduction in equipment expenses.
• Lower overall operating costs (air conditioning, electricity).
• Easier to upgrade hardware and software.
• Free admin personnel for other high value activities.
6. 6 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Cloud Benefits for the Enterprise
• Benefits for larger companies:
• Consolidation of data centers.
• Scale up or down, on-demand.
• Broader geographic support.
• Built-in HA/DR capabilities.
7. 7 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Helix Core in the Cloud
• Many applications are moving to the cloud.
• Perforce customers are succeeding.
• Economics of the cloud have improved dramatically.
• Multiple-server configurations of Helix Core are popular.
• Driven by the need to improve developer productivity.
• Enables collaboration among large teams across
geographically diverse facilities.
• Deploying and managing 10s or 100s of servers can be easier
in the cloud.
8. 8 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Benefits: Helix Core and AWS
• High performance and scalability are critical to large product development organizations.
• AWS and Helix Core scale in multiple dimensions:
• Large numbers of developers, geographic locations, storing very large files or a great many files, and in the ability to
scale DevOps automation to speed CI/CD.
• For security and compliance:
• Integrate with enterprise Identity and Access Management tools.
• Use enterprise and AWS compliance tools.
• High availability and disaster recovery
• Many topologies possible
• Ranging from a single virtual machine to complex, multi-server, multi-geography, multiple LAN/WAN
architectures.
• Hybrid cloud and on-premises.
10. 10 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Key Use Cases
Gain scale (facilities, people,
repos, code and non-code
assets) with proxies, replicas,
and federated architecture.
Improve developer
productivity with high-
performance CI/CD build
servers.
Streamline operations
and economics with AWS
archival storage and
backup options.
Ensure business continuity
with advanced HA/DR
options.
Simplify replacements,
upgrades, and testing.
Increase flexibility by adding
cloud options to your existing on-
premises or private data center
server infrastructure.
11. 11 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Proxy Servers
Active Master Server Proxy Servers (p4p)
Storage Cache
• Archive Files
Archive Files
• Database
• Checkpoints &
Journals
• Archive Files
AWS Availability Zone A AWS Regions
Dev Sites
Commit
HELIX CORE CLIENTS
(SEOUL)
HELIX CORE CLIENTS
(NEW YORK)
HELIX CORE CLIENTS
(SAN FRANCISCO)
12. 12 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Replica Servers
Active Master Server Hot Standby Server
Storage StorageSnapshot Storage
• Database
• Checkpoints &
Journals
• Archive Files
• Checkpoints &
Journals
• Archive Files
• Database
• Checkpoints
& Journals
• Archive Files
AWS Availability Zone A AWS Availability Zone B
Replication
13. 13 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Perforce Federated Architecture
ON
PREMISES
CORPORATE
DATA
CENTER
EDGE
SERVER
CORPORATE
DATA
CENTER
SITE LOCAL
HA STANDBY SERVER
MASTER/COMMIT
AWS REGION 1
FORWARDING
REPLICA
AWS REGION 2
14. 14 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
High Performance Build Server – Placement Group
VPC SUBNET A VPC SUBNET B
PLACEMENTGROUP
Master/Commit Build Server
VPC SUBNET C
Replica
US-EAST-1A US-EAST-1B
US-EAST-1 REGION
HA FAILOVER
15. 15 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Economically Manage Archival Storage and Backup
Replica Server
StorageSnapshot Storage
• Database
• Checkpoints &
Journals
• Archive Files
• Checkpoints &
Journals
• Archive Files
AWS Availability Zone
AWS EBSAWS S3
As low as $4 per TB per Month
16. 16 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Streamline Failover
HA Standby Server
StorageSnapshot Storage
• Database
• Checkpoints &
Journals
• Archive Files
• Checkpoints &
Journals
• Archive Files
AWS Availability Zone
AWS EBSAWS S3 Route53 Cloud DNS
p4 failover [-y] [ -m | [-i] -s serverID ] [-w waitForQuiesce][-v
verificationTime][failoverMessage]
17. 17 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Simplify Replacements, Upgrades, and Testing
Configuration Files/Scripts
Default packages/Binaries/Agents
Performance Tuning Configurations
AWS Systems
Manager
Automation
Patch
Manager
Amazon
Inspector
Tools
Golden AMI
Updated
EC2 Instance
EC2 Instance
Base AMI
AWS Systems Manager
Parameter Store
18. 18 | Go Global with Helix Core on AWS Webinar June 2019 perforce.com
Cloud Hybrid Deployment
AWS Region 1
EDGE
SERVER
MASTER/COMMIT
Corporate Data Center -
Virginia
AWS Region 2
EDGE
SERVER
BUILD SERVERBUILD SERVER
HELIX CORE CLIENTS
(SEOUL)
HELIX CORE CLIENTS
(NEW YORK)
HELIX CORE CLIENTS
(SAN FRANCISCO)
EDGE SERVER
On Premises – Design Center –
Minneapolis
Asia Pacific
(Singapore)
HELIX CORE CLIENTS
(MINNEAPOLIS)
HELIX CORE CLIENTS
(MID-ATLANTIC)
EU (London)
HELIX CORE CLIENTS
(LONDON)
HELIX CORE CLIENTS
(FRANKFURT)
BUILD SERVER