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
yulkin
your book suggests to use Image.toByteData() to convert image to bytes, however I get the following error: "the getter ‘toByteData’ isn’t...
New
alanq
This isn’t directly about the book contents so maybe not the right forum…but in some of the code apps (e.g. turbo/06) it sends a TURBO_ST...
New
nicoatridge
Hi, I have just acquired Michael Fazio’s “Kotlin and Android Development” to learn about game programming for Android. I have a game in p...
New
brunogirin
When I run the coverage example to report on missing lines, I get: pytest --cov=cards --report=term-missing ch7 ERROR: usage: pytest [op...
New
brunogirin
When running tox for the first time, I got the following error: ERROR: InterpreterNotFound: python3.10 I realised that I was running ...
New
New
s2k
Hi all, currently I wonder how the Tailwind colours work (or don’t work). For example, in app/views/layouts/application.html.erb I have...
New
dtonhofer
@parrt In the context of Chapter 4.3, the grammar Java.g4, meant to parse Java 6 compilation units, no longer passes ANTLR (currently 4....
New
SlowburnAZ
Getting an error when installing the dependencies at the start of this chapter: could not compile dependency :exla, "mix compile" failed...
New

Other popular topics Top

dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
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
AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
gagan7995
API 4 Path: /user/following/ Method: GET Description: Returns the list of all names of people whom the user follows Response [ { ...
New
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
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
New

Latest in Engineering Elixir Applications

Sub Categories: