1.55k likes | 1.65k Views
Explore the comprehensive guide on structuring Erlang/OTP software, deploying to EC2, and maximizing your Erlang code potential for profit. Unveil the secrets of launching and managing your software efficiently with Erlang system architecture on the Amazon EC2 cloud platform. Dive deep into the modules, prerequisites, DSL upgrade commands, and more for a refined software deployment experience.
E N D
AnErlang Startup • Write awesome Erlang code. • ??? • Profit.
AnErlang Startup • Write awesome Erlang code. • ??? • Deploy to EC2. • ??? • Profit.
AnErlang Startup • Write awesome Erlang code. • ??? • Deploy to EC2. • ??? • Profit.
How do I launch my software … to EC2
Erlang/OTP software structure cool.erl
Erlang/OTP software structure cool.erl
Erlang/OTP software structure cool.erl
Erlang/OTP software structure cool.erl
Erlang/OTP software structure cool.erl
Erlang/OTP software structure cool.erl mega.erl
Erlang/OTP software structure src cool.erl mega.erl sweet.erl
Erlang/OTP software structure foo-0.1.0 src ebin
Erlang/OTP software structure foo-0.1.0 src ebin foo.app foo.appup
Erlang/OTP software structure foo-0.1.0 {application,foo, [{description, ”My App"}, {vsn, “0.1.0"}, {modules, [cool,mega,sweet]}, {registered, [foobar]}, {applications, [kernel,stdlib,sasl,bar]}, {mod, {cool,[]}} ]}. src ebin foo.app foo.appup
Erlang/OTP software structure foo-0.1.0 {application,foo, [{description, ”My App"}, {vsn, “0.1.0"}, {modules, [cool,mega,sweet]}, {registered, [foobar]}, {applications, [kernel,stdlib,sasl,bar]}, {mod, {cool,[]}} ]}. src ebin foo.app Which modules? foo.appup
Erlang/OTP software structure foo-0.1.0 {application,foo, [{description, ”My App"}, {vsn, “0.1.0"}, {modules, [cool,mega,sweet]}, {registered, [foobar]}, {applications, [kernel,stdlib,sasl,bar]}, {mod, {cool,[]}} ]}. src ebin foo.app Which modules? Prerequisites foo.appup
Erlang/OTP software structure foo-0.1.0 src {“0.1.0", [{“0.0.0", [{load_module, mega, [ch3]}]}], [{“0.0.0", [{load_module, mega, [ch3]}]}] }. ebin foo.app foo.appup
Erlang/OTP software structure foo-0.1.0 src {“0.1.0", [{“0.0.0", [{load_module, mega, [ch3]}]}], [{“0.0.0", [{load_module, mega, [ch3]}]}] }. ebin foo.app DSL Upgrade Commands foo.appup
Erlang/OTP software structure foo-0.1.0 src ebin foo.app foo.appup
Erlang/OTP software structure foo-0.1.0