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!

Popular Pragmatic topics Top

abtin
page 20: … protoc command… I had to additionally run the following go get commands in order to be able to compile protobuf code using go...
New
jimschubert
In Chapter 3, the source for index introduces Config on page 31, followed by more code including tests; Config isn’t introduced until pag...
New
jon
Some minor things in the paper edition that says “3 2020” on the title page verso, not mentioned in the book’s errata online: p. 186 But...
New
Razor54672
The answer to 3rd Problem of Chapter 5 (Making Choices) of “Practical Programming, Third Edition” seems incorrect in the given answer ke...
New
telemachus
Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks” While running the smoke tests in Chapter 2, I get these...
New
JohnS
I can’t setup the Rails source code. This happens in a working directory containing multiple (postgres) Rails apps. With: ruby-3.0.0 s...
New
Chrichton
Dear Sophie. I tried to do the “Authorization” exercise and have two questions: When trying to plug in an email-service, I found the ...
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
AufHe
I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113. Iteration A1 - Seeing the list of prod...
New
EdBorn
Title: Agile Web Development with Rails 7: (page 70) I am running windows 11 pro with rails 7.0.3 and ruby 3.1.2p20 (2022-04-12 revision...
New

Other popular topics Top

PragmaticBookshelf
A PragProg Hero’s Journey with Brian P. Hogan @bphogan Have you ever worried that your only legacy will be in the form of legacy...
New
Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
mafinar
Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
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
DevotionGeo
I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
New

Latest in PragProg

View all threads ❯