adkelley

adkelley

Engineering Elixir Applications: Chapter 10 (page 323)

In reviewing the code for this chapter (autoscaling_and_optimizing_your_deployment_strategy -
modules/cloud/aws/compute/swarm/main.tf), I notice you removed the null resource “wait_for_swarm_ready_tag” from the file. Yet, you refer to it on page 323.

I’m not able to autoscale whether I use your main.tf (and autoscaling.tf) or follow your instructions in the book. So could you clarify what code I should be running (main.tf, autoscaling.tf, deploy.sh, launch_node.sh)? Also, can you help me understand why you’ve created module_1 through module_6 in that section and how they relate to this chapter. For example, does module_1 capture pages xx - xx in the book?

Thanks!

First Post!

Gilacost

Gilacost

Author of Engineering Elixir Applications

Hi @adkelley, thank you for your comment and apologies for the late reply. Please follow the instructions in the book.

The modules_1, modules_2 (etc.) folders are different versions of the modules folder as the chapter progresses. We are aware of the confusion that the current code folder might be generating and we are trying to update that on the prag prog side, but we are having some issues because the book was already on it way to its final print version. We’ll shortly make a public repo containing the examples of the book following a folder structure that we hope will make more sense to you.

But in the meantime, please follow the instructions in the book itself.

Thanks!

Where Next?

Popular Pragmatic Bookshelf topics Top

jimmykiang
This test is broken right out of the box… — FAIL: TestAgent (7.82s) agent_test.go:77: Error Trace: agent_test.go:77 agent_test.go:...
New
brianokken
Many tasks_proj/tests directories exist in chapters 2, 3, 5 that have tests that use the custom markers smoke and get, which are not decl...
New
mikecargal
Title: Hands-On Rust (Chap 8 (Adding a Heads Up Display) It looks like ​.with_simple_console_no_bg​(SCREEN_WIDTH*2, SCREEN_HEIGHT*2...
New
herminiotorres
Hi @Margaret , On page VII the book tells us the example and snippets will be all using Elixir version 1.11 But on page 3 almost the en...
New
adamwoolhether
When trying to generate the protobuf .go file, I receive this error: Unknown flag: --go_opt libprotoc 3.12.3 MacOS 11.3.1 Googling ...
New
jskubick
I’m under the impression that when the reader gets to page 136 (“View Data with the Database Inspector”), the code SHOULD be able to buil...
New
jskubick
I found an issue in Chapter 7 regarding android:backgroundTint vs app:backgroundTint. How to replicate: load chapter-7 from zipfile i...
New
adamwoolhether
Is there any place where we can discuss the solutions to some of the exercises? I can figure most of them out, but am having trouble with...
New
kolossal
Hi, I need some help, I’m new to rust and was learning through your book. but I got stuck at the last stage of distribution. Whenever I t...
New
gorkaio
root_layout: {PentoWeb.LayoutView, :root}, This results in the following following error: no “root” html template defined for PentoWeb...
New

Other popular topics Top

DevotionGeo
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
AstonJ
poll poll Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1143 25883 760
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New
First poster: bot
Large Language Models like ChatGPT say The Darnedest Things. The Errors They MakeWhy We Need to Document Them, and What We Have Decided ...
New
New

Latest in Engineering Elixir Applications

Sub Categories: